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