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

JUnit skipped tests are processed as success

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • performance-plugin
    • None

      If a tests case is skipped, it is still threated as success with response time of 0s

      Example:

      <testsuites tests="1" errors="0" failures="0" skipped="1">
        <testsuite name="Namespace.Test" tests="1" errors="0" failures="0" skipped="1">
          <testcase classname="Namespace.Test" name="someTest">
            <skipped />
          </testcase>
        </testsuite>
      </testsuites>

      I guess JUnitParser.java needs a case for skipped that sets currentSample.setSuccessful(false);

       

            Unassigned Unassigned
            sam_segers Sam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: