[ http://jira.codehaus.org/browse/SUREFIRE-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249397#action_249397 ]
Alasdair Maclean commented on SUREFIRE-671: ------------------------------------------- Sorry I'd gone home for the day - as you've already seen, it's JUnit 4. Thanks for fixing this. > surefire should not run abstract test cases > ------------------------------------------- > > Key: SUREFIRE-671 > URL: http://jira.codehaus.org/browse/SUREFIRE-671 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Plugin > Affects Versions: 2.7 > Reporter: Alasdair Maclean > Assignee: Kristian Rosenvold > Priority: Minor > Fix For: 2.7.1 > > Attachments: abstract-test-case.zip, tests.mms.common.MyTestCase.txt > > > Surefire reports a failure if an abstract test case (extending > junit.framework.TestCase) with TestCase in its name contains no tests. This > bug appears to have the same symptoms as issue SUREFIRE-221, but as it's so > old I'm assuming a different cause > Workaround: adding @Ignore to the abstract test case (or change the class > name) -- 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