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

IApplyToTest

public interface IApplyToTest
The IApplyToTest interface is implemented by self-applying attributes that modify the state of a test in some way.
using NUnit.Framework.Internal; namespace NUnit.Framework.Interfaces { public interface IApplyToTest { void ApplyToTest(Test test); } }