-
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
-
Code changed in jenkins
User: Alex Earl
Path:
src/main/resources/hudson/plugins/nunit/nunit-to-junit.xsl
http://jenkins-ci.org/commit/nunit-plugin/af6526bbd89fe505b9c3b0e3e8e060f63fc9ef3e
Log:
Fix
JENKINS-13471