Expand description
Configuration support for nextest.
§Multi-pass parsing
Nextest’s configuration parsing happens in several passes, similar to a typical compiler.
- The first pass verifies that the configuration looks fine and is done
very early in the process. A successful first phase parse is represented by
EarlyProfile
. - The second pass applies the host and target platforms to the configuration,
resulting in an
EvaluatableProfile
. - The final pass resolves actual per-test settings, via
TestSettings
.
Multi-pass parsing allows for profile parsing errors to be returned as early as possible – before the host and target platforms are known. Returning errors early leads to a better user experience.
Structs§
- Configuration for archives.
- Type for the archive-include key.
- A compiled form of the default filter for a profile.
- An identifier used in configuration.
- Represents a custom test group.
- A nextest profile that can be obtained without identifying the host and target platforms.
- A configuration profile for nextest. Contains most configuration used by the nextest runner.
- Global JUnit configuration stored within a profile.
- Overall configuration for nextest.
- Nextest version configuration.
- Type for the slow-timeout config key.
- Configuration for a test group.
- Settings for individual tests.
- A tool-specific config file.
- A “version-only” form of the nextest configuration.
Enums§
- What to do when an archive-include path is missing.
- Within
CompiledDefaultFilter
, the part of the config that the default filter comes from. - Experimental configuration features.
- Type for the max-fail flag
- The result of checking whether a
NextestVersionConfig
satisfies a requirement. - Specification for a nextest version. Part of
NextestVersionConfig
. - Recursion depth.
- Type for the retry config key.
- Represents the test group a test is in.
- Type for the test-threads config key.
- Type for the threads-required config key.
Functions§
- Gets the number of available CPUs and caches the value.