Table of Contents

Method GetDiagnosticMessagesOrDefault

Namespace
Xunit.Sdk
Assembly
xunit.v3.runner.common.dll

GetDiagnosticMessagesOrDefault(ITestFrameworkDiscoveryOptions)

Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not set, returns the default value (false).

public static bool GetDiagnosticMessagesOrDefault(this ITestFrameworkDiscoveryOptions discoveryOptions)

Parameters

discoveryOptions

Returns

bool

GetDiagnosticMessagesOrDefault(ITestFrameworkExecutionOptions)

Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not present, returns the default value (false).

public static bool GetDiagnosticMessagesOrDefault(this ITestFrameworkExecutionOptions executionOptions)

Parameters

executionOptions

Returns

bool