<PackageReference Include="NUnit" Version="2.6.4" />

ITestCaseData

public interface ITestCaseData
The ITestCaseData interface is implemented by a class that is able to return complete testcases for use by a parameterized test method. NOTE: This interface is used in both the framework and the core, even though that results in two different types. However, sharing the source code guarantees that the various implementations will be compatible and that the core is able to reflect successfully over the framework implementations of ITestCaseData.
object[] Arguments { get; }

Gets the argument list to be provided to the test

string Description { get; }

Gets the description of the test

Gets the expected exception Type

string ExpectedExceptionName { get; }

Gets the FullName of the expected exception

bool Explicit { get; }

Gets a value indicating whether this ITestCaseData is explicit.

bool HasExpectedResult { get; }

Indicates whether a result has been specified. This is necessary because the result may be null, so it's value cannot be checked.

bool Ignored { get; }

Gets a value indicating whether this ITestCaseData is ignored.

string IgnoreReason { get; }

Gets the ignore reason.

object Result { get; }

Gets the expected result

string TestName { get; }

Gets the name to be used for the test