← Back to team overview

nunit-core team mailing list archive

[Bug 1023082] Re: Add AutoAttribute for enums and boolean

 

** Changed in: nunitlite
     Assignee: (unassigned) => Tyrel Alastair Hunter (ialastairhunter)

-- 
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/1023082

Title:
  Add AutoAttribute for enums and boolean

Status in NUnit Test Framework:
  New
Status in NUnitLite Testing Framework:
  New

Bug description:
  Add an AutoAttribute for use on parametrized methods with values of
  Enum types and boolean

  a sample test using this attribute might look like this

  [Test]
  public void Test([Auto] MyEnum value)
  {
      //Auto generates a test case for each value in MyEnum
  }

  [Test]
  public void Test([Auto] MyEnum boolean)
  {
      //Auto generates a test case for true, and a test case for false
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/nunit-3.0/+bug/1023082/+subscriptions


References