← Back to team overview

nunit-core team mailing list archive

[Bug 885173] Re: Tests are still executed after cancellation by user

 

** Attachment added: "A contrived TestFixture class to force the issue."
   https://bugs.launchpad.net/bugs/885173/+attachment/2582779/+files/Tests.cs

-- 
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/885173

Title:
  Tests are still executed after cancellation by user

Status in NUnit V2 Test Framework:
  New

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/nunitv2/+bug/885173/+subscriptions


References