Table of Contents

Method Run

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

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

Starts the process of running tests in the assembly.

public ITestProcessBase Run(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