ITestFilter Interface

Summary

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.
Namespace
TCLite.Interfaces
Interfaces
graph BT Type-.->Interface0["IXmlNodeBuilder"] click Interface0 "/tc-lite/api/TCLite.Interfaces/IXmlNodeBuilder" Type["ITestFilter"] class Type type-node

Syntax

public interface ITestFilter : IXmlNodeBuilder

Methods

Name Value Summary
IsExplicitMatch(ITest) bool
Determine if a test matches the filter explicitly. That is, it must be a direct match of the test itself or one of its children.
Pass(ITest) bool
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