Class IncludeExcludeAttribute
Abstract base for Attributes that are used to include tests in the test run based on environmental settings.
public abstract class IncludeExcludeAttribute : NUnitAttribute
- Inheritance
-
IncludeExcludeAttribute
- Derived
- Inherited Members
Constructors
IncludeExcludeAttribute()
Constructor with no included items specified, for use with named property syntax.
public IncludeExcludeAttribute()
IncludeExcludeAttribute(string)
Constructor taking one or more included items
public IncludeExcludeAttribute(string include)
Parameters
include
stringComma-delimited list of included items
Properties
Exclude
Name of the item to be excluded. Multiple items may be given, separated by a comma.
public string Exclude { get; set; }
Property Value
Include
Name of the item that is needed in order for a test to run. Multiple itemss may be given, separated by a comma.
public string Include { get; set; }
Property Value
Reason
The reason for including or excluding the test
public string Reason { get; set; }