pub struct FlakyResult {
pub name: String,
pub version: String,
pub iterations: u32,
pub tests: Vec<TestReliability>,
}Expand description
Result of a flaky-test run.
Fields§
§name: StringCrate name.
version: StringCrate version.
iterations: u32Iterations completed.
tests: Vec<TestReliability>Per-test reliability records.
Implementations§
Source§impl FlakyResult
impl FlakyResult
Sourcepub fn flaky_count(&self) -> usize
pub fn flaky_count(&self) -> usize
Count of tests that are flaky (mixed pass/fail).
Sourcepub fn into_report(self) -> Report
pub fn into_report(self) -> Report
Convert this result into a dev-report::Report.
Stable tests pass. Flaky tests warn (reliability is reported as evidence). Broken tests (zero passes) fail.
Trait Implementations§
Source§impl Clone for FlakyResult
impl Clone for FlakyResult
Source§fn clone(&self) -> FlakyResult
fn clone(&self) -> FlakyResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FlakyResult
impl RefUnwindSafe for FlakyResult
impl Send for FlakyResult
impl Sync for FlakyResult
impl Unpin for FlakyResult
impl UnsafeUnpin for FlakyResult
impl UnwindSafe for FlakyResult
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