• 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);

       

          [JENKINS-73702] JUnit skipped tests are processed as success

          Sam added a comment -

          Would a PR for a fix be accepted?

          I haven't done any development for Jenkins so I'll have to search a lot, but the fix seems straightforward.

          Sam added a comment - Would a PR for a fix be accepted? I haven't done any development for Jenkins so I'll have to search a lot, but the fix seems straightforward.

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

              Created:
              Updated: