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

TestStartedEvent

public class TestStartedEvent : Event
TestStartedEvent holds information needed to call the TestStarted method.
using NUnit.Framework.Interfaces; using System.Runtime.CompilerServices; namespace NUnit.Framework.Internal.Execution { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public class TestStartedEvent : Event { private readonly ITest _test; public TestStartedEvent(ITest test) { _test = test; } public override void Send(ITestListener listener) { listener.TestStarted(_test); } } }