Table of Contents

Class TestListener

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

TestListener provides an implementation of ITestListener that does nothing. It is used only throught its NULL property.

public class TestListener : ITestListener
Inheritance
TestListener
Implements
Inherited Members

Properties

NULL

Get a listener that does nothing

public static ITestListener NULL { get; }

Property Value

ITestListener

Methods

TestFinished(ITestResult)

Called when a test case has finished

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