Failure on teardown is not considered as test error/failure
1turbok7 opened this issue · 0 comments
Jenkins and plugins versions report
Jenkins: 2.346.3
OS: Windows Server 2019 - 10.0
Java: 1.8.0_402 - Amazon.com Inc. (OpenJDK 64-Bit Server VM)
nunit:0.27
xunit:3.1.0
What Operating System are you using (both controller, and any agents involved in the problem)?
Windows Server 2019 - 10.0
Reproduction steps
-
On one of test-suite, error on teardown occurred (test executed successfully and passed):
executed="True" result="Failure" success="False" -
On general status of test-results:
errors="0" failures="0"
Expected Results
-
On one of test-suite, error on teardown occurred (test executed successfully and passed):
executed="True" result="Failure" success="False" -
On general status of test-results:
errors="1" failures="1"
Actual Results
-
On one of test-suite, error on teardown occurred (test executed successfully and passed):
executed="True" result="Failure" success="False" -
On general status of test-results:
errors="0" failures="0"
Anything else?
Would be nice to have an option on the plugin to treat errors on any part of the test as a failure
Are you interested in contributing a fix?
No response