nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02408
[Bug 885173] Re: Tests are still executed after cancellation by user
Although this has been fixed by applying the same change as was used in
NUnit v2, it cannot yet be demonstrated, since there is still no Gui for
NUnit 3.0. It's only in the Gui that a running test may be cancelled by
the user.
** Changed in: nunit-3.0
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/885173
Title:
Tests are still executed after cancellation by user
Status in NUnit Test Framework:
Fix Committed
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
Hi there,
we noticed the following issue occurring in both, the gui runner and
console runner of NUnit 2.5.10 and 2.6:
When canceling a test and an exception is thrown in the TearDown
method the test runner is still executing all the following tests
instead of stopping the execution.
This problem is reproducible with the attached test fixture class.
I forced throwing an exception in line 32 of Tests.cs, with commenting this line out the behavior of cancellation is as expected.
Regards Daniel.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/885173/+subscriptions
References