Maven 1.x Test Plugin
  1. Maven 1.x Test Plugin
  2. MPTEST-39

MPTEST-25 fix side effect: test failure doesn't halt execution

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The fix for MPTEST-25 has a behavioral side effect that I consider as a bug. Before the fix, any test failure would halt the whole testing process, unless the failure.ignore was specified. Now, no matter what you do, the complete test suite will run eventhough you want it to stop at the first error it encounters.

      http://jira.codehaus.org/browse/MPTEST-25

      Thanks,

      Seb

        Issue Links

          Activity

          Hide
          Pascal Grange added a comment -

          It seems that the maven.test.failure.ignore property has been used to specify junit to stop test execution at the first encountered failure.

          This means that it is no more possible to fail maven build when test fails but still executing ALL the tests. This is a bug.

          Show
          Pascal Grange added a comment - It seems that the maven.test.failure.ignore property has been used to specify junit to stop test execution at the first encountered failure. This means that it is no more possible to fail maven build when test fails but still executing ALL the tests. This is a bug.

            People

            • Assignee:
              Lukas Theussl
              Reporter:
              Sebastien Sahuc
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: