Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: nunit-plugin
-
Labels:None
-
Environment:Jenkins version 2.7.2, NUnit-plugin 0.17
-
Similar Issues:
Description
Nunit plugin unable to display test results. The results show up blank (empty.png). Please use the xml file (TestResults (1).xml) to replicate the issue.
I had a similar problem.
After a lot of investigation I found that if the first test-case in a test-suite had a bracket '(' in its name then that whole test-suite would not show up in Jenkins. The same problem would not show up if the offending name occurred in a subsequent test-case but not the first one.
This is particularly problematical if you use xUnit.net with Theories because the tests will always have names of the form:
Test name(data: some data)
As a work around you can add a test with a non-offending name but the order the tests are written to the file by xUnit.net seems to be somewhat non-deterministic.