Table of Contents

Constructor ExecutionSink

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

ExecutionSink(XunitProjectAssembly, ITestFrameworkDiscoveryOptions, ITestFrameworkExecutionOptions, AppDomainOption, bool, IMessageSink, ExecutionSinkOptions)

Initializes a new instance of the ExecutionSink class.

public ExecutionSink(XunitProjectAssembly assembly, ITestFrameworkDiscoveryOptions discoveryOptions, ITestFrameworkExecutionOptions executionOptions, AppDomainOption appDomainOption, bool shadowCopy, IMessageSink innerSink, ExecutionSinkOptions options)

Parameters

assembly

The assembly under test.

discoveryOptions

The options used during test discovery.

executionOptions

The options used during test execution.

appDomainOption

A flag to indicate whether app domains are in use.

shadowCopy bool

A flag to indicate whether shadow copying is in use.

innerSink

The inner sink to forward messages to (typically the reporter message handler, retrieved by calling CreateMessageHandler(IRunnerLogger, IMessageSink?) on the runner reporter)

options

The options to use for the execution sink

ExecutionSink(XunitProjectAssembly, ITestFrameworkDiscoveryOptions, ITestFrameworkExecutionOptions, AppDomainOption, bool, IMessageSink, ExecutionSinkOptions, ISourceInformationProvider)

Initializes a new instance of the ExecutionSink class.

public ExecutionSink(XunitProjectAssembly assembly, ITestFrameworkDiscoveryOptions discoveryOptions, ITestFrameworkExecutionOptions executionOptions, AppDomainOption appDomainOption, bool shadowCopy, IMessageSink innerSink, ExecutionSinkOptions options, ISourceInformationProvider sourceInformationProvider)

Parameters

assembly

The assembly under test.

discoveryOptions

The options used during test discovery.

executionOptions

The options used during test execution.

appDomainOption

A flag to indicate whether app domains are in use.

shadowCopy bool

A flag to indicate whether shadow copying is in use.

innerSink

The inner sink to forward messages to (typically the reporter message handler, retrieved by calling CreateMessageHandler(IRunnerLogger, IMessageSink?) on the runner reporter)

options

The options to use for the execution sink

sourceInformationProvider

The source information provider