Table of Contents

Method Find

Namespace
Xunit
Assembly
xunit.v3.runner.utility.netfx.dll

Find(IMessageSink, FrontControllerFindSettings)

Starts the process of finding tests in an assembly. Typically only used by runners which discover tests and present them into a UI for the user to interactively choose for selective run (via Run(IMessageSink, FrontControllerRunSettings)). For runners which simply wish to discover and immediately run tests, they should instead use FindAndRun(IMessageSink, FrontControllerFindAndRunSettings), which permits the same filtering logic as this method.

public virtual void Find(IMessageSink messageSink, FrontControllerFindSettings settings)

Parameters

messageSink

The message sink to report results back to.

settings

The settings used during discovery.