JUnit Parser does not show Skipped tests

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 5.7.0
    • Component/s: Logs, Tests
    • None
    • 0

      The JUnit Parser does not provide any information regarding Skipped tests. For example, the following is valid JUnit XML:

      <?xml version="1.0" encoding="UTF-8" ?>
      <testsuite errors="0" failures="0" skipped="1" tests="2" time="0.0090">
          <testcase classname="net.cars.engine.ValveTest" name="checkSpeed" time="0.0080" />
          <testcase classname="net.cars.engine.ValveTest" name="moveDown" time="0.0010">
              <skipped />
          </testcase>
      </testsuite>
      

      However, when parsed by the JUnit Parser, the above file will result in a build status with 1 test in total. There is no indication anywhere that a test has been skipped.

      I believe this issue is related to:

            Assignee:
            Unassigned
            Reporter:
            Nick Exton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: