← Back to team overview

nunit-core team mailing list archive

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

 

The same problem of updating test result exists in nunit-3.0.

** Also affects: nunit-3.0
   Importance: Undecided
       Status: New

** Changed in: nunit-3.0
       Status: New => Triaged

** Changed in: nunit-3.0
   Importance: Undecided => High

** Changed in: nunit-3.0
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

** Changed in: nunit-3.0
    Milestone: None => 2.9.6

-- 
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:
  Triaged
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