On Tue, Aug 6, 2013 at 2:33 PM, Benjamin BERTRAND <bee...@gmail.com> wrote:
> > I guess it's possible to use a synthetic transport, but that wouldn't help > much without a "fake" redis server. > That would indeed be nice to have for testing. > > I actually just found a dummy txredis client that implements everything > internally for testing: https://github.com/williamsjj/dummy-txredis > Might be worth looking at. > But I wonder if implementing a basic redis server with twisted (for > testing purpose) wouldn't be nicer? > What exactly are you testing? Are you testing communication with redis, or are you testing how you handle the data from redis? If the latter, why not just use a mock? Piper
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python