Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-226

XML Test Results files are not accurate

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0 (2.2 plugin)
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Maven 2.0.4. Windows
    • Number of attachments :
      1

      Description

      In the attached test project I seem to be getting very peculiar results. Namely, the XML results files do not match up to the txt file, which should be what is happening.

      • TEST-PassingTest.xml should report 2 passing tests, 0 failing tests but reports 3 passing tests and 3 failing tests. It reports test results for all 3 test classes
      • TEST-MixedTest.xml should report 1 passing test, 1 failing tests and does so.
      • TEST-FailingTest.xml should report 0 passing tests, 2 failing tests but reports 1 passing test and 3 failing tests.

      This is very wacky. I've tried running it in different fork modes. The results seems to occasionally be accurate, seemingly more often on forkmode=always, but still not always...

      The results in the *.txt files seems to always be accurate.

        Issue Links

          Activity

          Hide
          Mark Chaimungkalanont added a comment -

          Duplicates MSUREFIRE-114

          Show
          Mark Chaimungkalanont added a comment - Duplicates MSUREFIRE-114

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Chaimungkalanont
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: