pub struct MutantTestReach {
pub reach: ExportTestReach,
pub export_name: Option<String>,
pub tests: Vec<String>,
pub export_test_files: Vec<String>,
pub mocked_targets: Vec<String>,
}Expand description
How tests reach the code of one mutant, from the module graph.
A mutant in the top-level statement that declares a value export gets the
class of that export. A mutant outside each such statement gets the class
of its file: none-file when no test loads the file, mocked-only when no
test loads the file and a mock explains an export of the file, and none
when a test loads the file.
Fields§
§reach: ExportTestReachThe reach class.
export_name: Option<String>The export whose declaration holds the mutant. None for a mutant
outside each value export declaration.
tests: Vec<String>For mocked-only: the test files whose references a mock removed,
sorted.
export_test_files: Vec<String>Static test-file reach for this exported declaration. Internal plan evidence only. This is not per-test runtime export coverage.
mocked_targets: Vec<String>For mocked-only: the mocked modules on the reference paths, sorted.
Trait Implementations§
Source§impl Clone for MutantTestReach
impl Clone for MutantTestReach
Source§impl Debug for MutantTestReach
impl Debug for MutantTestReach
impl Eq for MutantTestReach
Source§impl PartialEq for MutantTestReach
impl PartialEq for MutantTestReach
Source§impl Serialize for MutantTestReach
impl Serialize for MutantTestReach
impl StructuralPartialEq for MutantTestReach
Auto Trait Implementations§
impl Forget for MutantTestReach
impl Freeze for MutantTestReach
impl Move for MutantTestReach
impl RefUnwindSafe for MutantTestReach
impl Send for MutantTestReach
impl Sync for MutantTestReach
impl Unpin for MutantTestReach
impl UnsafeUnpin for MutantTestReach
impl UnwindSafe for MutantTestReach
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more