Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: nunit-plugin
-
Labels:
-
Environment:Jenkins ver. 2.89.4
NUnit Plugin
-
Similar Issues:
Description
When there is an error in unit tests that causes the test runner to crash (running nunit3-console with --process=Separate) the test report does not contain any test cases but reports an error on test-suite level. (see attached report0.xml)
The nunit-plugin should fail the build if such a report file is found. Currently it seems to silently ignore the error and our build job succeeded although there was a massive bug in one of our tests.
So, what looks like is happening is the NUnit XML output supports a failure at the test-suite level, which I am not sure the JUnit format supports (which is used to display the results). The schema for the JUnit format, and what is supported by the JUnit plugin is not very well documented, so I will need to determine if its possible to support this sort of thing.