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

rerunFailingTestsCount doesn't work for errors in BeforeClass methods

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.19.1
    • Fix Version/s: None
    • Component/s: Junit 4.x support
    • Labels:
      None

      Description

      We're using surefire.rerunFailingTestsCoun property for our integration tests, and everything working fine when an error/failure happens in a test method (i.e. @Test ), and those test methods are re-executed later, as expected.

      But if an error happens in a BeforeClass class method, then those test classes are not re-executed.

        Attachments

          Activity

            People

            • Assignee:
              tibordigana Tibor Digana
              Reporter:
              mishail Mikhail Stepura
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: