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

Support new skipped feature for GoogleTests report since 1.8

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.3.6

      Description

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

        Attachments

          Activity

          victimsnino Alex Loginov created issue -
          nfalco Nikolas Falco made changes -
          Field Original Value New Value
          Component/s xunit-plugin [ 15636 ]
          Component/s jenkins.io [ 23954 ]
          Key INFRA-2285 JENKINS-59608
          Workflow classic default workflow [ 239650 ] JNJira + In-Review [ 239651 ]
          Project Infrastructure [ 10301 ] Jenkins [ 10172 ]
          nfalco Nikolas Falco made changes -
          Assignee Nikolas Falco [ nfalco ]
          nfalco Nikolas Falco made changes -
          Description 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"/>
          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}
          Hide
          nfalco Nikolas Falco added a comment -

          Alex Loginov please provide a test report file generated that contains skipped test cases

          Show
          nfalco Nikolas Falco added a comment - Alex Loginov please provide a test report file generated that contains skipped test cases
          victimsnino Alex Loginov made changes -
          Attachment t.zip [ 48909 ]
          nfalco Nikolas Falco made changes -
          Summary GoogleTests: Set Skipped tests state: Skipped instead of Passed Support new skipped feature for GoogleTests report
          nfalco Nikolas Falco made changes -
          Summary Support new skipped feature for GoogleTests report Support new skipped feature for GoogleTests report since 1.8
          nfalco Nikolas Falco made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          nfalco Nikolas Falco made changes -
          Released As 2.3.6
          Status Fixed but Unreleased [ 10203 ] Closed [ 6 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: