pub struct TestRunResult {
pub suites: Vec<TestSuite>,
pub duration: Duration,
pub raw_exit_code: i32,
}Expand description
Complete result of a test run
Fields§
§suites: Vec<TestSuite>§duration: Duration§raw_exit_code: i32Implementations§
Source§impl TestRunResult
impl TestRunResult
pub fn total_passed(&self) -> usize
pub fn total_failed(&self) -> usize
pub fn total_skipped(&self) -> usize
pub fn total_tests(&self) -> usize
pub fn is_success(&self) -> bool
Trait Implementations§
Source§impl Clone for TestRunResult
impl Clone for TestRunResult
Source§fn clone(&self) -> TestRunResult
fn clone(&self) -> TestRunResult
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 TestRunResult
impl Debug for TestRunResult
Auto Trait Implementations§
impl Freeze for TestRunResult
impl RefUnwindSafe for TestRunResult
impl Send for TestRunResult
impl Sync for TestRunResult
impl Unpin for TestRunResult
impl UnsafeUnpin for TestRunResult
impl UnwindSafe for TestRunResult
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