← Back to team overview

nunit-core team mailing list archive

[Bug 691129] Re: Add Category parameter to TestFixture

 

I'm looking for #2. We will typically have more than one TestCaseSource attribute on a method:
[TestCaseSource("dataList1", Category="Dev")]
[TestCaseSource("dataList2", Category="Production"]

If the user desires #1, they can use TestCaseData and specify the
category there for individual cases.

However, perhaps #1 is useful too. Maybe you can provide an additional
option that actually controls how the category is used with #2 being the
default?

Launchpad rejects my submission of a new bug saying "A summary is
required", even though I entered it. Would you mind adding the request
for me?

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