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