I've tried using JUnit 4 as well (using the adapter). But it doesn't work. I get an IllegalArgumentException.

Ian

On Apr 18, 2006, at 9:50 AM, Tiago Fernandez wrote:

I could run my tests with JUnit4TestAdapter in Eclipse, but not with Maven.
It ran only tests extending TestCase, perhaps I'm missing something...

Tiago

On 4/18/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

Well you should be able to run JUnit4 tests under JUnit3 (and thus
Surefire) if you use the JUnit4TestAdapter approach... at least, I
think you should. ;-)

Wayne

On 4/18/06, Tiago Fernandez <[EMAIL PROTECTED]> wrote:
Thanks again Wayne.
So all we can do is wait, but no problem :-)

On 4/18/06, Wayne Fay <[EMAIL PROTECTED]> wrote:

This was discussed in a thread titled "[M2] surefire plugin and JUnit
4" on April 9-10. Please check the Maven User list archive.

If you have any additional questions after reading that email thread,
feel free to post back...

Wayne

On 4/17/06, Tiago Fernandez <[EMAIL PROTECTED]> wrote:
Hello,

Does Maven already work with JUnit 4? I've noticed it only runs
JUnit
3.xtest cases... is there a way to get it working with
4.x?

Thanx,
--
Tiago Fernandez
http://www.tiago182.spyw.com



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

Reply via email to