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

TestFinishedEvent

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