Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14980

JUnit Parser does not show Skipped tests

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 5.7.0
    • Logs, Tests
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      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:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: