I would like to know if there is a difference in running a JUnit3-Test or a JUnit4-Test. Even if it is just 5-10% improvment on the total runtime, in a big project with nightly builds this could matter.
Subquestins are:
@annotation
in JUnit4 style?If possible please answer with references.
I suspect that given what JUnit does (mainly provide a framework for people to write tests), that the differences, if any, are negligible. As with most performance issues and queries, you should probably perform measurements yourself for your particular scenario.
Any test performance issues I've seen in the past relate to how the developers write the actual tests, and whether they handle issues like:
If you're really concerned with test framework speed, then perhaps you should also evaluate TestNG ?