nextest_runner

Module config

source
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§

Enums§

Functions§

  • Gets the number of available CPUs and caches the value.