Table of Contents

Class TestOptionsNames.Discovery

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

Test options names used with ITestFrameworkDiscoveryOptions.

public static class TestOptionsNames.Discovery
Inheritance
TestOptionsNames.Discovery
Inherited Members

Fields

Culture

The culture to be used for discovery. null means the default system culture, Empty means the invariant culture, and any other value is assumed to be a culture name that the system understands.

DiagnosticMessages

Set to true to enable display of diagnostic messages.

IncludeSourceInformation

Set to true to include source information during discovery, when possible. (Note that most source information is applied by the runner, not the discoverer, because it utilizes the DiaSession support provided by Visual Studio, which means it's applied after the fact by xunit.runner.visualstudio. This flag, then, is a signal for custom test frameworks that may be able to provide source information via some other mechanism.)

InternalDiagnosticMessages

Set to true to enable display of internal diagnostic messages.

MethodDisplay

A flag which indicates how the default test method display name is calculated.

MethodDisplayOptions

A flag which indicates how the test method display name calculation can be modified by special naming patterns.

PreEnumerateTheories

Set to true to enable pre-enumeration of theories during discovery.

SynchronousMessageReporting

Set to true to enable synchronous message reporting; set to false to enable asynchronous message reporting. Synchronous in this case means the system will wait for the runner to process a message before delivering the next one.