← Back to team overview

nunit-core team mailing list archive

[Bug 691129] Re: Add Category parameter to TestFixture

 

Charlie,
Thanks for providing the fix. We verified that it works in 2.5.10. TestCaseData for TestCaseSource works as well. However, we would like to be able to specify the category inline as well:

[TestCaseSource("dataList", Category="A")]

That will reduce the amount of code TestCaseData requires. Should I open
a separate request for this?

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

Title:
  Add Category parameter to TestFixture

Status in NUnit V2 Test Framework:
  Fix Committed
Status in NUnit V2 2.5 series:
  Fix Committed
Status in NUnit V2 2.6 series:
  Invalid

Bug description:
  Per discussion here: http://groups.google.com/group/nunit-
  discuss/browse_thread/thread/aae9015a485921e4?hl=en

  Please add a way to specify categories for parameterized test
  fixtures. This will allow control over execution. NUnit GUI should
  respect these settings as well.

  [TestFixture("string1", Category="A")] 
  [TestFixture("string2", Category="B")] 

  Would appreciate it in NUnit 2.x if at all possible (and soon). Thank
  you!


Follow ups

References