-
Bug
-
Resolution: Fixed
-
Major
-
None
Unit test results are occasionally put under different namespaces, depending on the type of the tests.
The issue is in the transform file nunit-to-junit.xsl.
Specifically, the cause is due to the firstTestName variable. The original is:
<xsl:variable name="firstTestName" select="results//test-case[1]//@name" />
The "fixed" version is:
<xsl:variable name="firstTestName" select="results/test-case[1]/@name" />
This fixes my current issue, but I don't know if it introduces any new (or old) issues.
I have attached an example nunit results file that will generate the error (one of the 3 Inflector.OrdinalizeTests testsuites has the name Inflector rather than Inflector.OrdinalizeTests)
- is duplicated by
-
JENKINS-16970 Jenkins NUnit Plugin 0.14 incorrectly converts Unit XML results to JUnit
-
- Resolved
-