Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-671

surefire should not run abstract test cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • Maven Surefire Plugin
    • None

    Description

      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)

      Attachments

        1. tests.mms.common.MyTestCase.txt
          2 kB
          Alasdair Maclean
        2. abstract-test-case.zip
          4 kB
          Alasdair Maclean

        Activity

          People

            krosenvold Kristian Rosenvold
            alasdairmaclean Alasdair Maclean
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: