nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02745
[Bug 997871] Re: Console test runner does not return non-zero exit code when there are invalid tests
** Changed in: nunitv2
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/997871
Title:
Console test runner does not return non-zero exit code when there are
invalid tests
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
If a test fixture constructor throws an exception, the tests in that
fixture are categorised as invalid, and the GUI runner will turn the
progress bar red, but the console runner does not return a non-zero
error code (at least in v 2.5.5).
Returning a non-zero error code would allow build scripts (e.g.
MSBuild) to automatically treat this as a failure.
As discussed here: https://groups.google.com/d/topic/nunit-
discuss/Ef59UKqDVyU/discussion
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/997871/+subscriptions
References