Class TestCaseAttribute<T>
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<T> : TestCaseAttribute, ITestBuilder, ITestCaseData, ITestData, IImplyFixture
Type Parameters
Name | Description |
---|---|
T |
Constructors
View SourceTestCaseAttribute(T)
Construct a TestCaseAttribute with a list of arguments.
Declaration
public TestCaseAttribute(T argument)
Parameters
Type | Name | Description |
---|---|---|
T | argument |