← Back to team overview

nunit-core team mailing list archive

[Bug 841894] Re: UI won't run tests marked Explicit

 

I find this actually happens for all tests marked [Explicit], not just in this non-trivial arrangement. It just so happens that the only explicit tests I had were in this arrangement.

I have downloaded the code for 2.6 and debugged this myself. I am not
finished, and I can get by (as a user) by removing the call to
TestSuiteTreeNode.Include in the code that sets the Enabled property on
the Run item in the context menu.

This Include property is set to false by the EmptyFilter that is applied
to the tree when the tests are run, and never restored afterwards.

Later, I will investigate further to determine what needs to be done to
fix this, unless someone else realizes the problem from what I've typed
here and beats me to it.

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

Title:
  UI won't run tests marked Explicit

Status in NUnit V2 Test Framework:
  Incomplete

Bug description:
  NUnit 2.5.10, Gui runner:

  A test marked [Explicit] can only be run from the Gui runner if it is
  the first test run. After that, it is disabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/841894/+subscriptions


References