Thursday, July 15, 2010

JUNIT and multi threaded code

I have been trying to write some JUnit test cases to test some of the asynchronous code which I wrote for messaging and had been stuck with one issue after another. Later I have learned that Junit support for multi threaded testing remains limited. The following link explains a good way of running them : http://today.java.net/pub/a/today/2003/08/06/multithreadedTests.html