IncludeExcludeAttribute
Abstract base for attributes that are used to include tests in
the test run based on environmental settings.
using System.Runtime.CompilerServices;
namespace NUnit.Framework
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class IncludeExcludeAttribute : NUnitAttribute
{
private string _include;
private string _exclude;
private string _reason;
public string Include {
get {
return _include;
}
set {
_include = value;
}
}
public string Exclude {
get {
return _exclude;
}
set {
_exclude = value;
}
}
public string Reason {
get {
return _reason;
}
set {
_reason = value;
}
}
public IncludeExcludeAttribute()
{
}
public IncludeExcludeAttribute(string include)
{
_include = include;
}
}
}