Class TestFrameworkOptionsReadExtensions
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.core.dll
Extension methods for reading ITestFrameworkDiscoveryOptions and ITestFrameworkExecutionOptions.
public static class TestFrameworkOptionsReadExtensions
- Inheritance
-
TestFrameworkOptionsReadExtensions
- Inherited Members
Methods
- Culture(ITestFrameworkDiscoveryOptions)
Gets the culture to use for discovering tests.
nulluses the default OS culture; Empty uses the invariant culture; any other value passes the provided value to CultureInfo(string) and uses the resulting object with DefaultThreadCurrentCulture and DefaultThreadCurrentUICulture.
- Culture(ITestFrameworkExecutionOptions)
Gets the culture to use for running tests.
nulluses the default OS culture; Empty uses the invariant culture; any other value passes the provided value to CultureInfo(string) and uses the resulting object with DefaultThreadCurrentCulture and DefaultThreadCurrentUICulture.
- DiagnosticMessages(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether diagnostic messages will be emitted.
- DiagnosticMessages(ITestFrameworkExecutionOptions)
Gets a flag that determines whether diagnostic messages will be emitted.
- DiagnosticMessagesOrDefault(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not present, returns the default value (
false).
- DiagnosticMessagesOrDefault(ITestFrameworkExecutionOptions)
Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not present, returns the default value (
false).
- DisableParallelization(ITestFrameworkExecutionOptions)
Gets a flag to disable parallelization.
- DisableParallelizationOrDefault(ITestFrameworkExecutionOptions)
Gets a flag to disable parallelization. If the flag is not present, returns the default value (
false).
- ExplicitOption(ITestFrameworkExecutionOptions)
Gets a flag that indicates how to handle explicit tests.
- ExplicitOptionOrDefault(ITestFrameworkExecutionOptions)
Gets a flag that indicates how to handle explicit tests. If the flag is not present, returns the default value (Off).
- FailSkips(ITestFrameworkExecutionOptions)
Gets a flag to fail skipped tests.
- FailSkipsOrDefault(ITestFrameworkExecutionOptions)
Gets a flag to fail skipped tests. If the flag is not present, returns the default value (
false).
- FailTestsWithWarnings(ITestFrameworkExecutionOptions)
Gets a flag to fail passing tests with warnings.
- FailTestsWithWarningsOrDefault(ITestFrameworkExecutionOptions)
Gets a flag to fail passing tests with warnings. If the flag is not present, returns the default value (
false).
- IncludeSourceInformation(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether discovered test cases should include source information. Note that not all runners have access to source information, so this flag does not guarantee that source information will be provided.
- IncludeSourceInformationOrDefault(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether discovered test cases should include source information. Note that not all runners have access to source information, so this flag does not guarantee that source information will be provided. If the flag is not present, returns the default value (
false).
- MaxParallelThreads(ITestFrameworkExecutionOptions)
Gets the maximum number of threads to use when running tests in parallel.
- MaxParallelThreadsOrDefault(ITestFrameworkExecutionOptions)
Gets the maximum number of threads to use when running tests in parallel. If set to 0 (or not set), the value of ProcessorCount is used; if set to a value less than 0, does not limit the number of threads.
- MethodDisplay(ITestFrameworkDiscoveryOptions)
Gets a flag that determines the default display name format for test methods.
- MethodDisplayOptions(ITestFrameworkDiscoveryOptions)
Gets a flag that determines the default display options to format test methods.
- MethodDisplayOptionsOrDefault(ITestFrameworkDiscoveryOptions)
Gets the options that determine the default display formatting options for test methods. If no options are not present, returns the default value (None).
- MethodDisplayOrDefault(ITestFrameworkDiscoveryOptions)
Gets a flag that determines the default display name format for test methods. If the flag is not present, returns the default value (ClassAndMethod).
- ParallelAlgorithm(ITestFrameworkExecutionOptions)
Gets the parallel algorithm to be used.
- ParallelAlgorithmOrDefault(ITestFrameworkExecutionOptions)
Gets the parallel algorithm to be used. If the flag is not present, return the default value (Conservative).
- PreEnumerateTheories(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether theories are pre-enumerated. If they enabled, then the discovery system will return a test case for each row of test data; they are disabled, then the discovery system will return a single test case for the theory.
- PreEnumerateTheoriesOrDefault(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether theories are pre-enumerated. If enabled, then the discovery system will return a test case for each row of test data; if disabled, then the discovery system will return a single test case for the theory. If the flag is not present, returns the default value (
false).
- Seed(ITestFrameworkExecutionOptions)
Gets the value that should be used to seed randomness.
- ShowLiveOutput(ITestFrameworkExecutionOptions)
Gets a flag which indicates if the developer wishes to see output from ITestOutputHelper live while it's being reported (in addition to seeing it collected together when the test is finished).
- ShowLiveOutputOrDefault(ITestFrameworkExecutionOptions)
Gets a flag which indicates if the developer wishes to see output from ITestOutputHelper live while it's being reported (in addition to seeing it collected together when the test is finished). If the flag is not present, returns the default value (
false).
- StopOnTestFail(ITestFrameworkExecutionOptions)
Gets a flag to stop testing on test failure.
- StopOnTestFailOrDefault(ITestFrameworkExecutionOptions)
Gets a flag to stop testing on test failure. If the flag is not present, returns the default value (
false).
- SynchronousMessageReporting(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether xUnit.net should report test results synchronously.
- SynchronousMessageReporting(ITestFrameworkExecutionOptions)
Gets a flag that determines whether xUnit.net should report test results synchronously.
- SynchronousMessageReportingOrDefault(ITestFrameworkDiscoveryOptions)
Gets a flag that determines whether xUnit.net should report test results synchronously. If the flag is not set, returns the default value (
false).
- SynchronousMessageReportingOrDefault(ITestFrameworkExecutionOptions)
Gets a flag that determines whether xUnit.net should report test results synchronously. If the flag is not set, returns the default value (
false).