Class ExecutionSinkOptions
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.
public XElement? AssemblyElement { get; set; }
Property Value
CancelThunk
Gets or sets a thunk to be used to determine whether cancellation has been requested.
public Func<bool>? CancelThunk { get; set; }
Property Value
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.
public IMessageSink? DiagnosticMessageSink { get; set; }
Property Value
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.
public bool FailSkips { get; set; }
Property Value
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.
public bool FailWarn { get; set; }
Property Value
FinishedCallback
Gets or sets a callback to be called when execution is complete.
public Action<ExecutionSummary>? FinishedCallback { get; set; }
Property Value
LongRunningTestCallback
Gets or sets a callback to be called when a long running test has been detected.
public Action<LongRunningTestsSummary>? LongRunningTestCallback { get; set; }
Property Value
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.
public TimeSpan LongRunningTestTime { get; set; }