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