- 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["IApplyToTest"]
click Interface0 "/tc-lite/api/TCLite.Interfaces/IApplyToTest"
Type["TestFixtureAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class TestFixtureAttribute : TCLiteAttribute, IApplyToTest
Examples
[TestFixture]
public class ExampleClass
{}
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
TestFixtureAttribute |
Construct a TestFixture with no arguments. |
TestFixtureAttribute |
Construct with a object[] representing a set of arguments. In .NET 2.0, the arguments may later be separated into type arguments and constructor arguments. |
Properties
Name | Value | Summary |
---|---|---|
Arguments | object[] |
The arguments originally provided to the attribute
|
Categories | IList |
Gets a list of categories for this fixture
|
Category | string |
Gets and sets the category for this fixture.
May be a comma-separated list of categories.
|
Description | string |
Descriptive text for this fixture
|
Ignore | bool |
Gets or sets a value indicating whether this
TestFixtureAttribute should be ignored.
|
Reason | string |
Gets or sets the ignore reason.
|
TypeArgs | Type[] |
Get or set the type arguments.
|
Methods
Name | Value | Summary |
---|---|---|
ApplyToTest |
void |
Modifies a test by adding a description, if not already set.
|