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

XML Test Results files are not accurate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0 (2.2 plugin)
    • None
    • None
    • None
    • Maven 2.0.4. Windows

    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.

      Attachments

        1. mixedBuild.zip
          11 kB
          Mark Chaimungkalanont

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wanderingwalrus Mark Chaimungkalanont
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: