Table of Contents

Class ExecutionSinkOptions

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

These are the options used when creating ExecutionSink. This is set up as an options class so that new options can be added without breaking binary compatibility.

public class ExecutionSinkOptions
Inheritance
ExecutionSinkOptions
Inherited Members

Properties

AssemblyElement

Gets or sets the assembly element used for creating XML. If this is null, then XML will not be created.

CancelThunk

Gets or sets a thunk to be used to determine whether cancellation has been requested.

DiagnosticMessageSink

Gets or sets the diagnostic message sink to report diagnostic messages to. In order for long running tests to be reported, this must not be null.

FailSkips

Gets or sets a flag indicating whether skipped tests should be reported as failed tests. If this is not true, then skipped tests will be reported as skipped.

FailWarn

Gets or sets a flag indicating whether passing tests with warnings should be reported as failed tests. If this is not true, then passing tests with warnings will be reported as passing tests.

FinishedCallback

Gets or sets a callback to be called when execution is complete.

LongRunningTestCallback

Gets or sets a callback to be called when a long running test has been detected.

LongRunningTestTime

Gets or sets the time after which to report long running tests. If the time span specified here is not greater than Zero, then long running tests will not be detected.