nextest_runner/config/
mod.rs

1// Copyright (c) The nextest Contributors
2// SPDX-License-Identifier: MIT OR Apache-2.0
3
4//! Configuration support for nextest.
5//!
6//! ## Multi-pass parsing
7//!
8//! Nextest's configuration parsing happens in several passes, similar to a
9//! typical compiler.
10//!
11//! * The first pass verifies that the configuration looks fine and is done
12//!   very early in the process. A successful first phase parse is represented by
13//!   [`EarlyProfile`].
14//! * The second pass applies the host and target platforms to the configuration,
15//!   resulting in an [`EvaluatableProfile`].
16//! * The final pass resolves actual per-test settings, via [`TestSettings`].
17//!
18//! Multi-pass parsing allows for profile parsing errors to be returned as early
19//! as possible -- before the host and target platforms are known. Returning
20//! errors early leads to a better user experience.
21
22mod archive;
23mod config_impl;
24mod helpers;
25mod identifier;
26mod junit;
27mod max_fail;
28mod nextest_version;
29mod overrides;
30mod priority;
31mod retry_policy;
32mod scripts;
33mod slow_timeout;
34mod test_group;
35mod test_threads;
36mod threads_required;
37mod tool_config;
38mod track_default;
39
40pub use archive::*;
41pub use config_impl::*;
42pub use identifier::*;
43pub use junit::*;
44pub use max_fail::*;
45pub use nextest_version::*;
46pub use overrides::*;
47pub use priority::*;
48pub use retry_policy::*;
49pub(super) use scripts::*;
50pub use slow_timeout::*;
51pub use test_group::*;
52pub use test_threads::*;
53pub use threads_required::*;
54pub use tool_config::*;
55pub(super) use track_default::*;
56
57#[cfg(test)]
58mod test_helpers;