On 20 Jul 2010, at 12:28, Sergio Bossa wrote:

> 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?

I don't think it was, and not sure it was to be included... anyone ?
But you'll be able to get it through maven. 

> 
>> 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.

It provides classloader isolation as well. 

> 
>> 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?

Not that I know, but I'll make sure I try to have something available through 
maven, working with this release, by the end of the week.

> Obviously, let me know if I can help with some coding ... you know, I
> like to contribute ;)

I'll then be able to get your feedback and we can then discuss who implements 
what new features ;-)

> 
> -- 
> 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

_______________________________________________
tc-dev mailing list
tc-dev@lists.terracotta.org
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to