Re: JUnit 4.1 Surefire - Does Not Execute @Before @After methods

2007-02-14 Thread Tom Huybrechts

Make sure you are using a recent surefire snapshot. Out of the box
Maven currently has no support for junit4.

On 2/14/07, Subhash Chandran [EMAIL PROTECTED] wrote:

I am using mvn 2.0.4. I have JUnit 4.1 test cases in my project. The
methods I have marked with @After and @Before annotations do not get
called during test execution. Is this a known bug, or am I doing
something wrong?

--
Regards,
Subhash Chandran S

http://wizcrypt.wiztools.org/

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




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



JUnit 4.1 Surefire - Does Not Execute @Before @After methods

2007-02-13 Thread Subhash Chandran

I am using mvn 2.0.4. I have JUnit 4.1 test cases in my project. The
methods I have marked with @After and @Before annotations do not get
called during test execution. Is this a known bug, or am I doing
something wrong?

--
Regards,
Subhash Chandran S

http://wizcrypt.wiztools.org/

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