Re: [classlib] Testing multithreaded behaviour

2009-11-16 Thread Sean Qiu
Sound interesting, our unit test on hand didn't cover this area. On the other hand, maybe we can write our code in a thread safe way. Then all exist tests can be reused in concurrent environment. Is anyone familiar with this? Best Regards Sean, Xiao Xia Qiu 2009/11/13 Mark Hindess

[classlib] Testing multithreaded behaviour

2009-11-13 Thread Mark Hindess
Those clever guys at google wrote so code to help testing multithread behaviour: http://code.google.com/p/thread-weaver/ Anyone tried this? I wonder if we could use this to avoid arbitrary sleeps that slow down our tests and potentially make them unstable? Regards, Mark.

Re: [classlib] Testing multithreaded behaviour

2009-11-13 Thread Jesse Wilson
On Fri, Nov 13, 2009 at 1:48 AM, Mark Hindess mark.hind...@googlemail.comwrote: Anyone tried this? I wonder if we could use this to avoid arbitrary sleeps that slow down our tests and potentially make them unstable? That's what Weaver is intended for! And it also lets you test concurrency