Summary
Marks an assembly, test fixture or test method as being ignored. Ignored tests result in a warning message when the tests are run.
- 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["IgnoreAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
public class IgnoreAttribute : TCLiteAttribute, IApplyToTest
Attributes
Type | Description |
---|---|
Attribute |
Constructors
Name | Summary |
---|---|
IgnoreAttribute |
Constructs the attribute without specifying a reason for ignoring the test. |
IgnoreAttribute |
Constructs the attribute giving a reason for ignoring the test. |
Methods
Name | Value | Summary |
---|---|---|
ApplyToTest |
void |
Modifies a test by marking it as Ignored.
|