Table of Contents

Interface ITestFilter

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

Interface to be implemented by filters applied to tests. The filter applies when running the test, after it has been loaded, since this is the only time an ITest exists.

public interface ITestFilter

Methods

Pass(ITest)

Determine if a particular test passes the filter criteria. Pass may examine the parents and/or descendants of a test, depending on the semantics of the particular filter

bool Pass(ITest test)

Parameters

test ITest

The test to which the filter is applied

Returns

bool

True if the test passes the filter, otherwise false