NUnit.Framework.TestCaseAttribute
Marks a method as a parameterized test suite and provides arguments for each test case.
namespace NUnit.
Framework
{
public class TestCaseAttribute :
NUnitAttribute,
ITestBuilder,
ITestCaseData,
ITestData,
IImplyFixture
{
public string TestName { get; set; }
public RunState RunState { get; }
public object[]
Arguments { get; }
public IPropertyBag Properties { get; }
public object ExpectedResult { get; set; }
public bool HasExpectedResult { get; }
public string Description { get; set; }
public string Author { get; set; }
public Type TestOf { get; set; }
public string Ignore { get; set; }
public bool Explicit { get; set; }
public string Reason { get; set; }
public string IgnoreReason { get; set; }
public string IncludePlatform { get; set; }
public string ExcludePlatform { get; set; }
public Type[]
TypeArgs { get; set; }
public string Category { get; set; }
public string Until { get; set; }
public TestCaseAttribute(
params object[]
arguments);
public TestCaseAttribute(
object arg);
public TestCaseAttribute(
object arg1,
object arg2);
public TestCaseAttribute(
object arg1,
object arg2,
object arg3);
public IEnumerable<
TestMethod>
BuildFrom(
IMethodInfo method,
Test suite);
}
}