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 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 UnsafeUnpin 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,
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
Compare self to
key and return true if they are equal.