Table of Contents

Class TestProgressReporter

Namespace
NUnit.Framework.Internal
Assembly
nunit.framework.dll

TestProgressReporter translates ITestListener events into the async callbacks that are used to inform the client software about the progress of a test run.

public class TestProgressReporter : ITestListener
Inheritance
TestProgressReporter
Implements
Inherited Members

Constructors

TestProgressReporter(ICallbackEventHandler)

Initializes a new instance of the TestProgressReporter class.

public TestProgressReporter(ICallbackEventHandler handler)

Parameters

handler ICallbackEventHandler

The callback handler to be used for reporting progress.

Methods

TestFinished(ITestResult)

Called when a test has finished. Sends a result summary to the callback. to

public void TestFinished(ITestResult result)

Parameters

result ITestResult

The result of the test

TestStarted(ITest)

Called when a test has just started

public void TestStarted(ITest test)

Parameters

test ITest

The test that is starting