Today I found this attribute UsingEnum.
I'm not an mbUnit geek so I don't no if it's new or not and I can't
found documentation about it.
I try to use it as follow and its behavior is very helpfull!!
using System;
using MbUnit.Framework;
namespace mbUnitTest
{
[TestFixture]
public class FooEnumTest
{
[CombinatorialTestAttribute]
public void FooEnumValues([UsingEnum(typeof (FooEnum))]
FooEnum item)
{
Console.WriteLine(item);
//Add test your here
}
}
public enum FooEnum
{
A,
B,
C
}
}
Many thk
claudio
http://blogs.ugidotnet.org/makka
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---