You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Przemysław Wojnowski (JIRA)" <ji...@codehaus.org> on 2009/09/22 13:43:16 UTC
[jira] Created: (SUREFIRE-575) Test run as JUnit3 test when extends
TestCase - TestNG annotations are ignored
Test run as JUnit3 test when extends TestCase - TestNG annotations are ignored
------------------------------------------------------------------------------
Key: SUREFIRE-575
URL: http://jira.codehaus.org/browse/SUREFIRE-575
Project: Maven Surefire
Issue Type: Bug
Components: TestNG support
Affects Versions: 2.4.3
Environment: Sun JDK 1.6.0_16, Maven 2.2.1
Reporter: Przemysław Wojnowski
Attachments: DaoTest.java, pom.xml
TestNG test is run as JUnit3 test when it inherits from JUnit's TestCase class.
When inheritance is removed, then test is run as TestNG test.
In both cases in Eclipse it is run as TestNG test (BeforeClass and AfterClass are called).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira