pub struct TestSuiteResult {
pub property_results: Vec<PropertyTestResult>,
pub overall_success_rate: f64,
pub total_tests: usize,
pub total_passing: usize,
}Expand description
Result of running a complete test suite
Fields§
§property_results: Vec<PropertyTestResult>Individual property test results
overall_success_rate: f64Overall success rate
total_tests: usizeTotal number of tests across all properties
total_passing: usizeTotal number of passing tests
Implementations§
Source§impl TestSuiteResult
impl TestSuiteResult
Sourcepub fn new(property_results: Vec<PropertyTestResult>) -> Self
pub fn new(property_results: Vec<PropertyTestResult>) -> Self
Create a new test suite result
Sourcepub fn all_passed(&self) -> bool
pub fn all_passed(&self) -> bool
Check if all tests passed
Sourcepub fn detailed_report(&self) -> String
pub fn detailed_report(&self) -> String
Generate a detailed report
Trait Implementations§
Source§impl Clone for TestSuiteResult
impl Clone for TestSuiteResult
Source§fn clone(&self) -> TestSuiteResult
fn clone(&self) -> TestSuiteResult
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 TestSuiteResult
impl RefUnwindSafe for TestSuiteResult
impl Send for TestSuiteResult
impl Sync for TestSuiteResult
impl Unpin for TestSuiteResult
impl UnwindSafe for TestSuiteResult
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more