pub struct Comparison {
pub regressions: Vec<Regression>,
pub pre_existing: Vec<String>,
pub new_tests: Vec<String>,
pub count_before: usize,
pub count_after: usize,
pub failing_as_before: Vec<String>,
}Expand description
What changed relative to a baseline (pass-to-pass).
Fields§
§regressions: Vec<Regression>Tests that passed in the baseline and now fail or are missing.
pre_existing: Vec<String>Tests failing in both runs.
new_tests: Vec<String>Tests not in the baseline.
count_before: usizeTests collected in the baseline.
count_after: usizeTests collected now.
failing_as_before: Vec<String>Checks failing now only because of tests that already failed in the baseline.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§impl Debug for Comparison
impl Debug for Comparison
Source§impl Default for Comparison
impl Default for Comparison
Source§impl<'de> Deserialize<'de> for Comparison
impl<'de> Deserialize<'de> for Comparison
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
impl Eq for Comparison
Source§impl JsonSchema for Comparison
impl JsonSchema for Comparison
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Comparison
impl PartialEq for Comparison
Source§impl Serialize for Comparison
impl Serialize for Comparison
impl StructuralPartialEq for Comparison
Auto Trait Implementations§
impl Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnsafeUnpin for Comparison
impl UnwindSafe for Comparison
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