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

TestFinishedEvent

public class TestFinishedEvent : Event
TestFinishedEvent holds information needed to call the TestFinished method.
using NUnit.Framework.Interfaces; namespace NUnit.Framework.Internal.Execution { public class TestFinishedEvent : Event { private ITestResult result; public TestFinishedEvent(ITestResult result) { this.result = result; } public override void Send(ITestListener listener) { listener.TestFinished(result); } } }