Failing Tests are incorrectly failing the build

I have a .Net solution that is being built using the sln2008 build runner. The solution is successfully building with no errors, however there are NUnit tests that are failing which is causing the overall build configuration to be reported incorrectly as failed.

I have set the build options as follows:



Note that the "at least one test failed" checkbox is turned off, so if any tests fail, then it shouldn't fail the build. Removing the Nunit test from the build sets the build result to Success, so it is definitely the running of the unit tests that is failing the build.

Is this a bug in the sln2008 Runner in that it is looking at the exit code of the NUnit test runner process instead of the devenv process?

Comment actions Permalink

As another note, it appears as though MSTest tests do not fail the build if a test fails, so this is only an issue with the NUnit test runner.

Anyone from JetBrains care to comment on this before I raise an issue?

Comment actions Permalink


Sorry for the delay. The question is still relevant? If yes please leave a comment or create a separate thread.

Kind regards,


Please sign in to leave a comment.