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
HasExpectedResult
Returns true if an expected result has been set
bool HasExpectedResult { get; }
Property Value
Properties
Gets the property dictionary for the test case
IPropertyBag Properties { get; }
Property Value
RunState
Gets the RunState for this test case.
RunState RunState { get; }
Property Value
TestName
Gets the name to be used for the test
string TestName { get; }