pub struct ReportSummary {
pub total_tests: usize,
pub passed: usize,
pub failed: usize,
pub skipped: usize,
pub pending: usize,
pub pass_rate: f64,
pub profiles: BTreeMap<String, ProfileSummary>,
}Expand description
Summary of all test results.
Fields§
§total_tests: usizeNumber of tests counted by the gate (passed + failed). PENDING tests are EXCLUDED from this total so the pass-rate denominator is unaffected by a committed-but-not-yet-generated reference.
passed: usize§failed: usize§skipped: usize§pending: usizeTests in the PENDING state (golden not generated, pending_reference).
Excluded from both passed and total_tests.
pass_rate: f64§profiles: BTreeMap<String, ProfileSummary>Gate summary split by validation profile.
Trait Implementations§
Source§impl Clone for ReportSummary
impl Clone for ReportSummary
Source§fn clone(&self) -> ReportSummary
fn clone(&self) -> ReportSummary
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 ReportSummary
impl Debug for ReportSummary
Source§impl<'de> Deserialize<'de> for ReportSummary
impl<'de> Deserialize<'de> for ReportSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReportSummary
impl RefUnwindSafe for ReportSummary
impl Send for ReportSummary
impl Sync for ReportSummary
impl Unpin for ReportSummary
impl UnsafeUnpin for ReportSummary
impl UnwindSafe for ReportSummary
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