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