pub struct TestExecutionResult {
pub passed: bool,
pub tests_run: usize,
pub tests_passed: usize,
pub tests_failed: usize,
pub output: String,
pub errors: Vec<String>,
}Expand description
Result of test execution
Fields§
§passed: boolWhether all tests passed
tests_run: usizeNumber of tests run
tests_passed: usizeNumber of tests passed
tests_failed: usizeNumber of tests failed
output: StringTest output
errors: Vec<String>Test errors
Trait Implementations§
Source§impl Clone for TestExecutionResult
impl Clone for TestExecutionResult
Source§fn clone(&self) -> TestExecutionResult
fn clone(&self) -> TestExecutionResult
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 moreAuto Trait Implementations§
impl Freeze for TestExecutionResult
impl RefUnwindSafe for TestExecutionResult
impl Send for TestExecutionResult
impl Sync for TestExecutionResult
impl Unpin for TestExecutionResult
impl UnwindSafe for TestExecutionResult
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