<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Internal.ExecutionHooks.ExecutionHooks

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