For your information, all our tests were migrated to JUnit4.
The biggest practical advantages are:
- tests that do not apply to a run (say, AIO tests when without AIO support) are correctly reported as ignored (before this they would just be invisible).
- we will solve for good the problem of temporary test files being left behind in /tmp.
- we will be able to have a hard time-out on individual tests without spawning a new VM for each test.
- a number of problematic asserts that will always fail in JUnit4 (to force you to fix them) were fixed.
The bulk of the work was done using a shell script, anyone interested can find it at <https://github.com/FranciscoBorges/junit3ToJunit4>.