Table of Contents

Method Find

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

Find(XunitProjectAssembly, TestAssemblyInfo, IMessageSink, IMessageSink?, ISourceInformationProvider?)

Starts the process of finding tests in an assembly.

public ITestProcessBase Find(XunitProjectAssembly projectAssembly, TestAssemblyInfo assemblyInfo, IMessageSink messageSink, IMessageSink? diagnosticMessageSink, ISourceInformationProvider? sourceInformationProvider)

Parameters

projectAssembly

The test assembly

assemblyInfo

The test assembly information (from GetAssemblyInfo(XunitProjectAssembly))

messageSink

The message sink to report results back to.

diagnosticMessageSink

The message to report diagnostic messages to.

sourceInformationProvider

The source information provider used to add file and line information to discovered tests

Returns