<PackageReference Include="NUnit" Version="3.0.0-alpha" />

ParameterSet

ParameterSet encapsulates method arguments and other selected parameters needed for constructing a parameterized test case.
public object[] Arguments { get; }

The arguments to be used in running the test, which must match the method signature.

public object ExpectedResult { get; set; }

The expected result of the test, which must match the method return type.

public bool HasExpectedResult { get; set; }

Gets a value indicating whether an expected result was specified.

public object[] OriginalArguments { get; }

The original arguments provided by the user, used for display purposes.

public IPropertyBag Properties { get; }

Gets the property dictionary for this test

public RunState RunState { get; set; }

The RunState for this set of parameters.

public string TestName { get; set; }

A name to be used for this test case in lieu of the standard generated name containing the argument list.

public ParameterSet()

Default Constructor creates an empty parameter set

public ParameterSet(Exception exception)

Construct a non-runnable ParameterSet, specifying the provider exception that made it invalid.

public ParameterSet(object[] args)

Construct a parameter set with a list of arguments

Construct a ParameterSet from an object implementing ITestCaseData

public void ApplyToTest(Test test)

Applies ParameterSet _values to the test itself.