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

Support new skipped feature for GoogleTests report since 1.8

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • xunit-plugin
    • None
    • 2.3.6

      GoogleTests 1.8 adds feature for skipping tests in runtime since this PR

      We would like xUnit support it because now the jenkins plugin parses test cases marked as skipped as successful passed
      Such test looks in report like:

      <testcase name="TestCase" timestamp="2019-10-01T13:50:34" time="0.046" classname="Test" result="skipped" status="run"/>

          [JENKINS-59608] Support new skipped feature for GoogleTests report since 1.8

          Alex Loginov created issue -
          Nikolas Falco made changes -
          Component/s New: xunit-plugin [ 15636 ]
          Component/s Original: jenkins.io [ 23954 ]
          Key Original: INFRA-2285 New: JENKINS-59608
          Workflow Original: classic default workflow [ 239650 ] New: JNJira + In-Review [ 239651 ]
          Project Original: Infrastructure [ 10301 ] New: Jenkins [ 10172 ]
          Nikolas Falco made changes -
          Assignee New: Nikolas Falco [ nfalco ]
          Nikolas Falco made changes -
          Description Original: GoogleTests add feature for skipping tests in runtime:
          [https://github.com/google/googletest/pull/1544]



          But xUnit doesn't parse it correctly and write, that such test is "Passed" instead of "Skipped"
          Such test looks in report like:
          <testcase name="TestCase" timestamp="2019-10-01T13:50:34" time="0.046" classname="Test" *result="skipped"* status="run"/>
          New: GoogleTests 1.8 adds feature for skipping tests in runtime since [this PR|https://github.com/google/googletest/pull/1544]

          We would like xUnit support it because now the jenkins plugin parses test cases marked as skipped as successful passed
           Such test looks in report like:
          {noformat}
          <testcase name="TestCase" timestamp="2019-10-01T13:50:34" time="0.046" classname="Test" result="skipped" status="run"/>{noformat}
          Alex Loginov made changes -
          Attachment New: t.zip [ 48909 ]
          Nikolas Falco made changes -
          Summary Original: GoogleTests: Set Skipped tests state: Skipped instead of Passed New: Support new skipped feature for GoogleTests report
          Nikolas Falco made changes -
          Summary Original: Support new skipped feature for GoogleTests report New: Support new skipped feature for GoogleTests report since 1.8
          Nikolas Falco made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Nikolas Falco made changes -
          Released As New: 2.3.6
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            nfalco Nikolas Falco
            victimsnino Alex Loginov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: