nunit-transforms icon indicating copy to clipboard operation
nunit-transforms copied to clipboard

The 'nunit3-junit.xslt' is not transform skipped test case correctly.

Open watsonsong opened this issue 3 years ago • 0 comments

If a test suite with some test case skipped, the nunit report xml will contains:

<test-suite>
  <reason>
    <message><![CDATA[One or more child tests were ignored]]></message>
  </reason>
  <test-case>
    <reason>
      <message><![CDATA[]]></message>
    </reason>
  </test-case>
</test-suite>

The passed test-case will produce reason with empty message, but transform to junit, the test case will marked as skipped:

<testcase>
  <skipped message="" />
</testcase>

https://github.com/nunit/nunit-transforms/pull/22

watsonsong avatar Mar 31 '21 06:03 watsonsong