<PackageReference Include="NUnit" Version="3.0.0-rc-3" />

ValuesAttribute

ValuesAttribute is used to provide literal arguments for an individual parameter of a test.
protected object[] data

The collection of data to be returned. Must be set by any derived attribute classes. We use an object[] so that the individual elements may have their type changed in GetData if necessary

public ValuesAttribute()

Constructs for use with an Enum parameter. Will pass every enum value in to the test.

public ValuesAttribute(object arg1)

Construct with one argument

public ValuesAttribute(object arg1, object arg2)

Construct with two arguments

public ValuesAttribute(object arg1, object arg2, object arg3)

Construct with three arguments

public ValuesAttribute(object[] args)

Construct with an array of arguments

Get the collection of _values to be used as arguments