Comment 0 for bug 909607

Revision history for this message
Oleg Deribas (oleg-deribas) wrote :

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)
{
...
}