Class TestOptionsNames.Discovery
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.
public static readonly string Culture
Field Value
Remarks
Value type: string
Consumed by: v3
DiagnosticMessages
Set to true to enable display of diagnostic messages.
public static readonly string DiagnosticMessages
Field Value
Remarks
Value type: bool
Consumed by: v2, v3
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.)
public static readonly string IncludeSourceInformation
Field Value
Remarks
Value type: bool
Consumed by: v3
InternalDiagnosticMessages
Set to true to enable display of internal diagnostic messages.
public static readonly string InternalDiagnosticMessages
Field Value
Remarks
Value type: bool
Consumed by: v2, v3
MethodDisplay
A flag which indicates how the default test method display name is calculated.
public static readonly string MethodDisplay
Field Value
Remarks
Value type: TestMethodDisplay
Consumed by: v2, v3
MethodDisplayOptions
A flag which indicates how the test method display name calculation can be modified by special naming patterns.
public static readonly string MethodDisplayOptions
Field Value
Remarks
Value type: TestMethodDisplayOptions
Consumed by: v2, v3
PreEnumerateTheories
Set to true to enable pre-enumeration of theories during discovery.
public static readonly string PreEnumerateTheories
Field Value
Remarks
Value type: bool
Consumed by: v2, v3
PrintMaxEnumerableLength
Sets the maximum number of items to print in a collection.
public static readonly string PrintMaxEnumerableLength
Field Value
Remarks
Value type: int
Consumed by: v3 1.1.0+
PrintMaxObjectDepth
Sets the maximum recursive depth when printing object values.
public static readonly string PrintMaxObjectDepth
Field Value
Remarks
Value type: int
Consumed by: v3 1.1.0+
PrintMaxObjectMemberCount
Sets the maximum number of members to show when printing object values.
public static readonly string PrintMaxObjectMemberCount
Field Value
Remarks
Value type: int
Consumed by: v3 1.1.0+
PrintMaxStringLength
Sets the maximum length when printing a string value.
public static readonly string PrintMaxStringLength
Field Value
Remarks
Value type: int
Consumed by: v3 1.1.0+
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.
public static readonly string SynchronousMessageReporting
Field Value
Remarks
Value type: bool
Consumed by: v2, v3