nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02506
[Bug 909607] Re: Values attribute support for enum types
** Changed in: nunit-3.0
Status: New => Triaged
** Changed in: nunit-3.0
Importance: Undecided => Medium
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/909607
Title:
Values attribute support for enum types
Status in NUnit Test Framework:
Triaged
Bug description:
The Values attribute should support enum types as argument.
Example:
[Test]
public void MyTest([Values(typeof(MyEnumType))]MyEnumType myEnumArgument)
{
...
}
Maybe even having argument is unnecessary. Attribute could just work
if applied to test method's argument of any enum type.
Example:
[Test]
public void MyTest([Values]MyEnumType myEnumArgument)
{
...
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/909607/+subscriptions
References