← Back to team overview

nunit-core team mailing list archive

[Bug 1023082] [NEW] Add AutoAttribute for enums and boolean

 

Public bug reported:

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
}

** Affects: nunit-3.0
     Importance: Undecided
         Status: New

** Affects: nunitlite
     Importance: Undecided
         Status: New

** Also affects: nunit-3.0
   Importance: Undecided
       Status: New

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


Follow ups

References