← Back to team overview

nunit-core team mailing list archive

[Bug 1023084] Re: Add Enum support to RandomAttribute

 

** Changed in: nunitlite
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

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


References