|
Project Information
Members
Links
|
Thread Weaver is a framework for writing multi-threaded unit tests in Java. It provides mechanisms for creating breakpoints within your code, and for halting execution of a thread when a breakpoint is reached. Other threads can then run while the first thread is blocked. This allows you to write repeatable tests for that can check for race conditions and thread safety. See the "Wiki" tab for a Users' Guide. For full documentation, please see the "docs" directory on the source tree, or in the main zip file on the Downloads page. The source tree also contains several examples of common race conditions, and shows how to test these using Thread Weaver. NOTE: There is an issue with later versions of Javassist that cause errors with ThreadWeaver. The code was originally developed using Javassist v3.8.1, and this version has been tested. If you experience exceptions in later versions of Javassist, please try using 3.8.1. The issue has been identified, and a fix will be submitted to Javassist. |