Expand description
Progress display for mutation testing.
Re-exportsยง
use std::collections::HashMap;๐use std::sync::Arc;๐use std::sync::atomic::AtomicBool;๐use std::sync::atomic::AtomicUsize;๐use std::sync::atomic::Ordering;๐use std::time::Duration;๐use std::time::Instant;๐use indicatif::MultiProgress;๐use indicatif::ProgressBar;๐use indicatif::ProgressStyle;๐use parking_lot::Mutex;๐use yansi::Paint;๐use crate::mutation::mutant::Mutant;๐use crate::mutation::mutant::MutationResult;๐
Structsยง
- Active
Mutant ๐ - State stored per active mutant so we can show per-mutant elapsed time and remove the correct row when a mutant completes (rather than FIFO which breaks under parallel completion).
- Live
Counts ๐ - Live tally of mutant outcomes, rendered into the overall progress bar.
- Mutation
Progress - Thread-safe wrapper for mutation progress
- Mutation
Progress State - State for mutation testing progress display.
Functionsยง
- truncate_
str ๐ - Truncate a string to max length, centering around the middle (where the operator typically is)