Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17558

Failed tests are reported as successful in the test results report

XMLWordPrintable

      For example, I ran a test set where all the tests passed and the resulting JUnit report looked like

      <?xml version="1.0"?>
      <testsuites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <testsuite tests="0" failures="0" errors="0" package="uftRunner">
          <testcase time="0" classname="All-Tests." status="pass" />
          <testcase time="0" classname="All-Tests." status="pass" />
          <testcase time="0" classname="All-Tests." status="pass" />
          <testcase time="0" classname="All-Tests." status="pass" />
          <testcase time="0" classname="All-Tests." status="pass" />

      The test suite shows zero test/failures/errors and all the testcases show "passed" when everything actually failed.

            xiwenhpe xiwen zhao
            dehringer David Ehringer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: