On Tue, Jul 20, 2010 at 12:16 PM, Alex Snaps <asn...@terracottatech.com> wrote:

> No you are not missing anything. The testing stuff I wrote (and technically 
> am still finishing, sorry ran late and had... vacations :P) can inject a 
> "fake" toolkit into
> your junit tests.

Thanks Alex for your answer and no worries, everyone needs vacations,
also the best devs around ;)
So, it isn't shipped with the 1.0.0 version, right?

> Yet, that is currently just there to support your unit testing infrastructure 
> (basically sharing test data across the "cluster" and thread orchestration).

That should be enough.

> If you are looking for having client.getToolkit() return something within 
> your application/framework classes, this is currently not supported.
> But I'd love to hear more about it... ;)

For now, I just need it to return a "simulated", static, ClusterInfo,
plain maps and locks, and stuff like that: pretty basic, and I think
you're working in this direction.
Then, as soon as I'll get more confident with the APIs, I'll try to
send some suggestions about how to enhance it to return custom classes
(provided it makes any sense at all).

Last question: is there any date about the release of the next toolkit
version containing the test facilities?
Obviously, let me know if I can help with some coding ... you know, I
like to contribute ;)

-- 
Sergio Bossa
http://www.linkedin.com/in/sergiob
_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to