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.
nullmeans 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
trueto enable display of diagnostic messages.
- IncludeSourceInformation
Set to
trueto include source information during discovery, when possible. (Note that most source information is applied by the runner, not the discoverer, because it utilizes theDiaSessionsupport provided by Visual Studio, which means it's applied after the fact byxunit.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
trueto 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
trueto enable pre-enumeration of theories during discovery.
- SynchronousMessageReporting
Set to
trueto enable synchronous message reporting; set tofalseto 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.