nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02812
[Bug 1023084] Re: Add Enum support to RandomAttribute
Don't use 'Fix Committed' when the fix is only in your private branch.
'Fix Committed' means that people can get the fix by building from
trunk.
** Changed in: nunitlite
Status: Fix Committed => In Progress
--
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/1023084
Title:
Add Enum support to RandomAttribute
Status in NUnit Test Framework:
New
Status in NUnitLite Testing Framework:
In Progress
Bug description:
Add support to the Random Attribute to select a random Enum Value from
an enumeration
[Test]
public void Test([Random(numberOfRandomValues)] MyEnum value)
{
//Random generates a Random Value from MyEnum's Values
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/1023084/+subscriptions
Follow ups
References