Table of Contents

Interface ITestCaseData

Namespace
NUnit.Framework.Interfaces
Assembly
nunit.framework.dll

The ITestCaseData interface is implemented by a class that is able to return complete testcases for use by a parameterized test method.

public interface ITestCaseData

Properties

Arguments

Gets the argument list to be provided to the test

object[] Arguments { get; }

Property Value

object[]

ExpectedResult

Gets the expected result of the test case

object ExpectedResult { get; }

Property Value

object

HasExpectedResult

Returns true if an expected result has been set

bool HasExpectedResult { get; }

Property Value

bool

Properties

Gets the property dictionary for the test case

IPropertyBag Properties { get; }

Property Value

IPropertyBag

RunState

Gets the RunState for this test case.

RunState RunState { get; }

Property Value

RunState

TestName

Gets the name to be used for the test

string TestName { get; }

Property Value

string