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

The Junit test results report format is invalid

XMLWordPrintable

      The JUnit test results report that is generated by the HP client isn't valid and can't be loaded into tools that parse this report format. The report should valid against this schema: http://windyroad.com.au/dl/Open%20Source/JUnit.xsd

      One of the primary validation failures is that both testsuite and testcase should have a "name" attribute.

      <?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" />

            amitbe Amit Bezalel
            dehringer David Ehringer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: