On Friday 30 May 2008 Martin wrote:
Looks like you'll need TestDecorator class from junit-4.1
http://www.jdocs.com/junit/4.1/junit/extensions/TestDecorator.html
No, you don't need this!
Your code and POM looks ok, where did you put your test-classes? Should be
in src/test/java.
What did you
This problem usually come from older release of surefire plugin, try
to use the lastest (2.4.3) in you pom.
On Fri, May 30, 2008 at 9:31 AM, Martin Höller [EMAIL PROTECTED] wrote:
On Friday 30 May 2008 Martin wrote:
Looks like you'll need TestDecorator class from junit-4.1
Sorry, I did'nt see the pom.xml in your message ;-)
On Fri, May 30, 2008 at 9:33 AM, Bouiaw [EMAIL PROTECTED] wrote:
This problem usually come from older release of surefire plugin, try
to use the lastest (2.4.3) in you pom.
On Fri, May 30, 2008 at 9:31 AM, Martin Höller [EMAIL PROTECTED]
. The
folder was missing pom and sha1 files (the folder had only junit-4.4.jar).
-Sankar
-Original Message-
From: Bouiaw [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2008 3:35 AM
To: Maven Users List
Subject: Re: maven2 with Junit 4 ignores @Test annotations
Sorry, I did'nt see
I am trying to use maven with Junit4 test cases. Eclipse runs these
tests just fine but maven doesn't recognize any of these tests.
Here is the code
import org.junit.Test;
import static org.junit.Assert.*;
public class AdditionTest {
private int x = 1;
private int y = 1;
I am trying to use maven with Junit4 test cases. Eclipse runs these
tests just fine but maven doesn't recognize any of these tests.
Here is the code
import org.junit.Test;
import static org.junit.Assert.*;
public class AdditionTest {
private int x = 1;
private int y = 1;
On Thu, May 29, 2008 at 6:34 PM, Valluri, Sankar
[EMAIL PROTECTED] wrote:
Am I doing anything wrong here? Or anything else needs to be done?
Must be, yeah -- I'm using JUnit 4.X tests with @Test annotations under
Maven 2, so -- it does work. I'm not seeing anything specific in our POMs
to
Subject: Re: maven2 with Junit 4 ignores @Test annotations
On Thu, May 29, 2008 at 6:34 PM, Valluri, Sankar
[EMAIL PROTECTED] wrote:
Am I doing anything wrong here? Or anything else needs to be done?
Must be, yeah -- I'm using JUnit 4.X tests with @Test annotations under
Maven 2, so