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]



RE: junit 4.1

2006-08-10 Thread Beyer,Nathan
Check out this guide..
http://maven.apache.org/guides/mini/guide-maven-evangelism.html 

Basically you'll log a point and ask for it to be uploaded. Check for
any existing points.

-Nathan

-Original Message-
From: Christofer Jennings [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 12:23 PM
To: Maven Users List
Subject: junit 4.1

I have a dependency on junit 4.1 that fails. It looks like version 4.1
is in http://www.ibiblio.org/maven2/junit/junit/ but not in the
maven-metadata.xml...

metadata
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  versioning
release3.8.1/release
versions
  version3.7/version
  version3.8/version
  version3.8.1/version
  version3.8.2/version
  version4.0/version
/versions
  /versioning
/metadata

Can I update this or does someone else have to? (still a newbee!)

,chris

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


-
CONFIDENTIALITY NOTICE This message and any included attachments
are from Cerner Corporation and are intended only for the
addressee. The information contained in this message is
confidential and may constitute inside or non-public information
under international, federal, or state securities laws.
Unauthorized forwarding, printing, copying, distribution, or use of
such information is strictly prohibited and may be unlawful. If you
are not the addressee, please promptly delete this message and
notify the sender of the delivery error by e-mail or you may call
Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
(816)221-1024. ---


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