← Back to team overview

nunit-core team mailing list archive

[Bug 1001994] Re: Need extension points / events to be notified immediately on a test failure

 

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

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

-- 
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/1001994

Title:
  Need extension points / events to be notified immediately on a test
  failure

Status in NUnit Test Framework:
  Triaged

Bug description:
  
  From the nunit-discuss mailing list https://groups.google.com/d/msg/nunit-discuss/-/JzjF8fDwhGQJ
  > So the idea is to take a snapshot of the screen whenever the test fails for
  > whatever reason. e.g. an unexpected error occurs
  >
  > A colleague tried the EventListener interface mentioned in the NUnit
  > Extensibility section of the docs.
  >
  > void TestFinished(TestResult result);
  >
  >
  > However the event handler was only called once the test had failed AND the
  > Teardown method was called. As a result, the screenshot doesn't have the
  > requisite info e.g. teardown reboots the app. Is there a event that is fired
  > synchronously and immediately when a test/assert fails.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/1001994/+subscriptions


References