Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

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

Open
watsonsong opened this issue Mar 31, 2021 · 0 comments
Open

Comments

@watsonsong
Copy link
Contributor

watsonsong commented Mar 31, 2021

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>

#22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant