pub enum SkipReason {
Ignored,
Filtered,
NotBenchmark,
SuiteNotInRun,
RerunAlreadyPassed,
}Expand description
The reason a test case is expected to be skipped.
Variants§
Ignored
The test is ignored, and the run doesn’t include ignored tests.
Filtered
The test is filtered out by the run’s filterset, or isn’t in the set of test names a verifier was asked to check.
NotBenchmark
The run is benchmarks-only, and this test isn’t a benchmark.
SuiteNotInRun
The test’s entire suite is excluded from the run.
RerunAlreadyPassed
The test passed in the initial run of a rerun sequence.
Implementations§
Source§impl SkipReason
impl SkipReason
Sourcepub fn counted_in_skip_summary(self) -> bool
pub fn counted_in_skip_summary(self) -> bool
Returns true if this test contributes to the “skipped” count in nextest’s summary line.
Tests filtered out by filtersets, ignored tests, and tests that already passed in a rerun all show up in nextest’s skip count. Tests outside the run’s scope entirely (suites excluded from the run, and non-benchmark tests in benchmark runs) don’t appear in the counts at all.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
Source§fn clone(&self) -> SkipReason
fn clone(&self) -> SkipReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SkipReason
Source§impl Debug for SkipReason
impl Debug for SkipReason
impl Eq for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
Source§fn eq(&self, other: &SkipReason) -> bool
fn eq(&self, other: &SkipReason) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.