nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01714
Re: [Bug 691129] Re: Add Category parameter to TestFixture
Yes, please do since this one is already released.
It sounds like a good idea since it would allow reuse of a single
source in different ways.
Charlie
On Fri, May 6, 2011 at 6:30 AM, Oleg Gerovich <691129@xxxxxxxxxxxxxxxxxx> wrote:
> 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 bug assignee.
> https://bugs.launchpad.net/bugs/691129
>
> Title:
> Add Category parameter to TestFixture
>
--
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