<PackageReference Include="NUnit" Version="3.5.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 readonly ITestResult _result; public TestFinishedEvent(ITestResult result) { _result = result; } public override void Send(ITestListener listener) { listener.TestFinished(_result); } } }