Summary
TestCaseSourceAttribute indicates the source to be used to
provide test cases for a test method.
- Namespace
- TCLite
- Interfaces
- Base Types
-
- object
- Attribute
- TCLiteAttribute
graph BT
Type-->Base0["TCLiteAttribute"]
click Base0 "/tc-lite/api/TCLite/TCLiteAttribute"
Base0-->Base1["Attribute"]
Base1-->Base2["object"]
Type-.->Interface0["ITestCaseFactory"]
click Interface0 "/tc-lite/api/TCLite.Interfaces/ITestCaseFactory"
Type-.->Interface1["IImplyFixture"]
click Interface1 "/tc-lite/api/TCLite.Interfaces/IImplyFixture"
Type["TestCaseFactoryAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class TestCaseFactoryAttribute : TCLiteAttribute, ITestCaseFactory, IImplyFixture
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
Test |
Construct with a Type |
Properties
Name | Value | Summary |
---|---|---|
Category | string |
Gets or sets the category associated with this test.
May be a single category or a comma-separated list.
|
Factory | ITestCaseFactory |
The factory itself
|
FactoryType | Type |
The Type of the factory being used
|
Methods
Name | Value | Summary |
---|---|---|
GetTestCasesFor |
IEnumerable |
Returns a set of ITestCaseDataItems for use as arguments
to a parameterized test method.
|