Table of Contents

Constructor Xunit1Executor

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

Xunit1Executor(IMessageSink, bool, string, string?, bool, string?)

Initializes a new instance of the Xunit1Executor class.

public Xunit1Executor(IMessageSink diagnosticMessageSink, bool useAppDomain, string testAssemblyFileName, string? configFileName = null, bool shadowCopy = true, string? shadowCopyFolder = null)

Parameters

diagnosticMessageSink

The message sink which receives IDiagnosticMessage and IInternalDiagnosticMessage messages.

useAppDomain bool

Determines whether tests should be run in a separate app domain.

testAssemblyFileName string

The filename of the test assembly.

configFileName string

The filename of the configuration file.

shadowCopy bool

Set to true to enable shadow copying the assemblies.

shadowCopyFolder string

The path on disk to use for shadow copying; if null, a folder will be automatically (randomly) generated