Re: Zookeeper unit tester?

2010-03-09 Thread David Rosenstrauch
Done. https://issues.apache.org/jira/browse/ZOOKEEPER-694 Am going to be starting to do some coding with ZooKeeper within the next few weeks. Will try to see if I can whip up an early implementation of a ZooKeeper tester as part of that. DR On 03/09/2010 05:47 PM, Henry Robinson wrote: No

Re: Zookeeper unit tester?

2010-03-09 Thread Mahadev Konar
Hi David, We don't really have a mock test ZooKeeper client which does not do any I/O. We have been thinking about using mockito sometime soon to use for this kind of testing, but currently there is none. Thanks mahadev On 3/9/10 2:23 PM, "David Rosenstrauch" wrote: > Just wondering if there

Re: Zookeeper unit tester?

2010-03-09 Thread Henry Robinson
Not to my knowledge, although such a thing would be nice to have. We are very busy putting together the 3.3.0 release for the next few days, and after that will be thinking about directions for 3.4.0 - testability will definitely come up. If this is something you're keen to have, please do create

Zookeeper unit tester?

2010-03-09 Thread David Rosenstrauch
Just wondering if there was a mock/fake version of org.apache.zookeeper.Zookeeper that could be used for unit testing? What I'm envisioning would be a single instance Zookeeper that operates completely in memory, with no network or disk I/O. This would make it possible to pass one of the memor