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