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
            Priority: Minor
         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

        

Reply via email to