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;
10mod leftovers;
11mod modules;
12pub mod output_fixture;
13pub mod plan;
14mod progress;
15pub mod propagation;
16pub mod report;
17mod reverts;
18pub mod scope;
19pub mod trace;
20mod witness;
21mod work_lock;
22
23/// The runtime injected into the crate under test, compiled here so that its logic can be
24/// checked against the planner.
25// The runtime reaches `std` through this alias (see `runtime/tmt_rt.rs`). It is declared
26// unconditionally so that the tool can also be run on itself.
27#[doc(hidden)]
28extern crate std as __tmt_std;
29
30#[cfg(test)]
31#[path = "runtime/tmt_rt.rs"]
32mod tmt_rt;
33
34/// Source of the injected runtime module.
35pub const RUNTIME_SOURCE: &str = include_str!("runtime/tmt_rt.rs");