I guess I should mention that I changed the ConcJUnit annotations (
@Test) and method name suffixes (
testFoo_NOJOIN) a little bit.
I had noticed that putting a
_NOJOIN suffix on a test method or using a
@Test(forceThreadJoin=false) annotation entirely disabled the test thread group. That’s not really what I wanted to happen, and even if it had been, it was badly named.
Instead of having this conflated behavior, I now have three different flags that can be set. The
@Test annotation member has also been renamed.
- Disables the test thread group; now ConcJUnit behaves like JUnit and ignores failures in threads other than the main thread.
- Disables the check if threads are still alive.
- Disables the check if threads ended, but only due to lucky circumstances.
checkThreads=false also disables the join and lucky checks; setting
checkJoin=false also disables the lucky checks. These changes have been made in the 20091020 release.
I should build Javadocs and include them in DrJava as well. The latest development release has the ConcJUnit 20091020 library that corresponds to JUnit 4.7, but the included API Javadoc is still JUnit 4.4. That is kind of messed up. (Update: Done.)