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

NUnit.Framework.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 { public string Include { get; set; } public string Exclude { get; set; } public string[] Includes { get; set; } public string[] Excludes { get; set; } public string Reason { get; set; } protected IncludeExcludeAttribute(); protected IncludeExcludeAttribute(string include); protected IncludeExcludeAttribute(string[] includes); } }