pub enum FlakyOrRerun {
Flaky,
Rerun,
}Expand description
Controls how reruns in TestCaseStatus::NonSuccess are represented in JUnit XML.
TestCaseStatus::Success does not use this type; its reruns are always serialized as
<flakyFailure> or <flakyError>.
See NonSuccessReruns for the bundled representation and
TestCaseStatus::set_rerun_kind for setting the kind.
Variants§
Flaky
Reruns represent flaky behavior: the test eventually passed, but these runs failed.
Serialized as <flakyFailure> or <flakyError>.
Rerun
Reruns represent retries: the test was retried but ultimately still failed.
Serialized as <rerunFailure> or <rerunError>.
Trait Implementations§
Source§impl Arbitrary for FlakyOrRerun
impl Arbitrary for FlakyOrRerun
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = BoxedStrategy<FlakyOrRerun>
type Strategy = BoxedStrategy<FlakyOrRerun>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(
args_shared: <Self as Arbitrary>::Parameters,
) -> Self::Strategy
fn arbitrary_with( args_shared: <Self as Arbitrary>::Parameters, ) -> Self::Strategy
Source§impl Clone for FlakyOrRerun
impl Clone for FlakyOrRerun
Source§fn clone(&self) -> FlakyOrRerun
fn clone(&self) -> FlakyOrRerun
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FlakyOrRerun
impl Debug for FlakyOrRerun
Source§impl PartialEq for FlakyOrRerun
impl PartialEq for FlakyOrRerun
impl Copy for FlakyOrRerun
impl Eq for FlakyOrRerun
impl StructuralPartialEq for FlakyOrRerun
Auto Trait Implementations§
impl Freeze for FlakyOrRerun
impl RefUnwindSafe for FlakyOrRerun
impl Send for FlakyOrRerun
impl Sync for FlakyOrRerun
impl Unpin for FlakyOrRerun
impl UnwindSafe for FlakyOrRerun
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
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
Checks if this value is equivalent to the given key. Read more
§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
Compare self to
key and return true if they are equal.