pub enum Finding {
InputGap {
at: Location,
survivors: Vec<String>,
survivor_count: u128,
add_tests: Vec<String>,
observed: Option<String>,
verified: bool,
},
AssertionGap {
at: Location,
survivors: Vec<String>,
tests: Vec<String>,
effects: Vec<String>,
effects_of: Option<String>,
witness: Option<VerifiedWitness>,
},
Survivor {
at: Location,
survivors: Vec<String>,
witness: Option<VerifiedWitness>,
change_since: Option<String>,
advice: Option<String>,
},
}Variants§
InputGap
No test input can tell these mutants from the original.
Fields
AssertionGap
Tests execute the changed behaviour, and still pass.
Fields
§
effects: Vec<String>What one surviving mutant changes later in those tests: the places an assertion could catch it. Empty when that was not looked into.
§
witness: Option<VerifiedWitness>Survivor
A mutant that was built on its own passes every test, and nothing was recorded
that says why: whether no test runs the code (nothing can be recorded in a
const fn), or one does and does not look at the result.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Forget for Finding
impl Freeze for Finding
impl Move for Finding
impl RefUnwindSafe for Finding
impl Send for Findingwhere
RawVecInner: Send,
impl Sync for Findingwhere
RawVecInner: Sync,
impl Unpin for Finding
impl UnsafeUnpin for Findingwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Findingwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more