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

NUnit.Framework.Internal.ExecutionHooks.ExecutionHooks

public sealed class ExecutionHooks
Provides hooks for executing custom code before and after test methods.