I have made preliminary versions of Concutest-JUnit, our modified version of JUnit 4.1, available on the Concutest page of my Rice website.
In this modified version, I have corrected a number of defects of JUnit. The two most important improvements are:
- Automatic exception handling in auxiliary threads.
- Requiring the main thread to wait until all threads it has spawned have finished.
While I haven’t extensively tested the modified version, it is designed as a drop-in replacement of JUnit 4.1. If you are using JUnit 4.1, simply replace the original junit.jar
file with the concutest-junit.jar
file.