On 29/07/2006 10:23 PM, berndq wrote:

Hi,

anyone here that likes to help in getting junit4 support for maven?

Currently I modifed JUnitTestSet to use JUnitCore from junit4 to run
the tests directly. I thought this is a nice way to get all the
annotation stuff working (@Before, timeout=xx) and it works.
At least it runs some exemplary tests.

Great!


The problem is now that surefire's reporting classes expect information
which is not provided by junit's RunListner. So no good logs/reports
can be created. :-(

Which information do you need?


Additionally surefire's POJO approach collides with junit4.

This is taken care of by the surefire plugin. It should select JUnit 4 as long as a it is in the dependency classpath.

As Wendy said, it would be good to track progress under SUREFIRE-31.

- Brett


--
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

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

Reply via email to