Nunit tests fail but step returns success
We are using 2018.1.5 (build 58744) with the nunit runner to run nunit 3.9.0. We have some failing tests but nunit returns success reporting:
Process exited with code 3
NUnit process finished with positive exit code 3 (some tests have failed). Reporting step success as all the tests have run.
This means that the build succeeds despite the failed tests. Is there a way to make the nunit runner fail in this scenario?
Please sign in to leave a comment.
Hi David,
first of all, please make sure that under failure conditions on the build configuration, you haven't removed the "one of build steps exited with an error (e.g non-zero exit code)". If the box is ticked, but an exit code 3 is still not failing the build, please report it to our tracker, https://youtrack.jetbrains.com/issues/TW, including the build log of a build showing the issue. Feel free to mark the attachment as only visible for you