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

JUnit report doesn't distinguish between test failures and errors

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • junit-plugin
    • None
    • Platform: All, OS: All

      The JUnit report produced on processing the XML doesn't distinguish between
      JUnit Test Failures and Errors.
      The XML looks like this:
      <testsuite errors="1" failures="3" name="results" tests="15">

      The report says:
      4 failures
      15 tests

      If you process the same XML using Ant's junitreport task you get:
      Tests Failures Errors
      15 3 1

        1. Ant_JUnit.JPG
          Ant_JUnit.JPG
          21 kB
        2. Hudson_JUnit.JPG
          Hudson_JUnit.JPG
          12 kB
        3. test-result.png
          test-result.png
          29 kB
        4. test-result-trend.png
          test-result-trend.png
          13 kB

            Unassigned Unassigned
            saurabh_arora saurabh_arora
            Votes:
            20 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated: