Skip to main content

targeted_mutation/
lib.rs

1//! Targeted mutation testing: find the wrong implementations your tests would let through.
2
3pub mod baseline;
4mod campaign_identity;
5mod checkpoint;
6pub mod config;
7pub mod driver;
8mod git_index;
9pub mod instrument;
10pub mod interrupt;
11mod leftovers;
12mod modules;
13pub mod output_fixture;
14pub mod plan;
15mod progress;
16pub mod propagation;
17pub mod report;
18mod reverts;
19pub mod scope;
20pub mod trace;
21mod witness;
22mod work_lock;
23
24/// The runtime injected into the crate under test, compiled here so that its logic can be
25/// checked against the planner.
26// The runtime reaches `std` through this alias (see `runtime/tmt_rt.rs`). It is declared
27// unconditionally so that the tool can also be run on itself.
28#[doc(hidden)]
29extern crate std as __tmt_std;
30
31#[cfg(test)]
32#[path = "runtime/tmt_rt.rs"]
33mod tmt_rt;
34
35/// Source of the injected runtime module.
36pub const RUNTIME_SOURCE: &str = include_str!("runtime/tmt_rt.rs");