← Back to team overview

nunit-core team mailing list archive

[Bug 1027269] Re: Problem with "Exclude these categories"

 

I figured out how it happens:

1. Open a test assembly with one category on a test - if there are other  categories, it's more complicated.
2. Select the category in the gui and check exclude these categories.
3. Without closing the gui, modify the source to remove the category and rebuild
4. Reload the assembly - or let it reload automatically

All tests are now excluded.

This only seems to happen on reload, which involves code that is not
used in other situations. An explicit test is needed for whether any
more categories remain and the checkbox should be cleared otherwise.

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

Title:
  Problem with "Exclude these categories"

Status in NUnit V2 Test Framework:
  Fix Committed

Bug description:
  Version 2.6.0.12051, Gui Runner.

  If "Exclude these categories" is selected and there are no "Available
  Categories", then all test are excluded.  I expect no tests to be
  excluded.  Moreover, the "Exclude these categories" option is
  disabled.

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


References