pub struct TestSummary {
pub results: Vec<TestRunResult>,
pub elapsed: Duration,
}Expand description
Aggregate summary of one cabin test run.
Fields§
§results: Vec<TestRunResult>Per-executable results in execution order.
elapsed: DurationWall-clock time the whole run took, measured by
run_tests across every executable in the plan.
Implementations§
Source§impl TestSummary
impl TestSummary
Sourcepub fn all_passed(&self) -> bool
pub fn all_passed(&self) -> bool
true if every executable in the summary passed.
Trait Implementations§
Source§impl Clone for TestSummary
impl Clone for TestSummary
Source§fn clone(&self) -> TestSummary
fn clone(&self) -> TestSummary
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 moreSource§impl Debug for TestSummary
impl Debug for TestSummary
impl Eq for TestSummary
Source§impl PartialEq for TestSummary
impl PartialEq for TestSummary
Source§fn eq(&self, other: &TestSummary) -> bool
fn eq(&self, other: &TestSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TestSummary
Auto Trait Implementations§
impl Freeze for TestSummary
impl RefUnwindSafe for TestSummary
impl Send for TestSummary
impl Sync for TestSummary
impl Unpin for TestSummary
impl UnsafeUnpin for TestSummary
impl UnwindSafe for TestSummary
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.