Class TestCaseAttribute<T1, T2>
Marks a method as a parameterized test suite and provides arguments for each test case.
Inherited Members
Namespace: NUnit.Framework
Assembly: nunit.framework.dll
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class TestCaseAttribute<T1, T2> : TestCaseAttribute, ITestBuilder, ITestCaseData, ITestData, IImplyFixture
Type Parameters
Name | Description |
---|---|
T1 | |
T2 |
Constructors
View SourceTestCaseAttribute(T1, T2)
Construct a TestCaseAttribute with a list of arguments.
Declaration
public TestCaseAttribute(T1 argument1, T2 argument2)
Parameters
Type | Name | Description |
---|---|---|
T1 | argument1 | |
T2 | argument2 |