Module config

Source
Expand description

Configuration support for nextest.

See the nextest configuration reference.

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

Modules§

core
Core configuration types.
elements
Configuration elements for nextest.
overrides
Support for per-test settings and overrides.
scripts
Support for scripts.