On Sun, 19 Feb 2006, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:

> Yes but It seems that JUnit 4 works only with Java 5 ??

It requires Java 5 to compile and annotations for JUnit 4 style
tests.  JUnit 3 style tests are still supported (so you can run your
old tests against JUnit 4) and don't require Java 5 at runtime.  There
also is a compatibility layer that allows JUnit 4 style tests to run
against JUnit 3 test runners (like Ant's) which would again require
Java 5 at runtime.

I did some tests with Ant's JUnit task when JUnit 4 stabilized in
CVS.  I guess much of it applies to Maven as well.

http://stefan.samaflost.de/blog/en/Apache/Ant/junit4_and_ant.writeback
http://stefan.samaflost.de/blog/en/Apache/Ant/junit4_and_ant_no_problem.html

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to