<PackageReference Include="NUnit" Version="3.10.1" />

IncludeExcludeAttribute

public abstract class IncludeExcludeAttribute : NUnitAttribute
Abstract base for Attributes that are used to include tests in the test run based on environmental settings.
namespace NUnit.Framework { 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) { this.include = include; } } }