pub struct PacketParityReport {
pub suite: String,
pub packet_id: Option<String>,
pub oracle_present: bool,
pub fixture_count: usize,
pub passed: usize,
pub failed: usize,
pub retired: usize,
pub results: Vec<CaseResult>,
}Fields§
§suite: String§packet_id: Option<String>§oracle_present: bool§fixture_count: usize§passed: usize§failed: usize§retired: usizeCases that were RETIRED and therefore never executed
(br-frankenpandas-fixture-corpus-stale-vs-oracle-p6srr). Counted
separately and kept inside fixture_count, so
passed + failed + retired == fixture_count.
results: Vec<CaseResult>Implementations§
Source§impl PacketParityReport
impl PacketParityReport
pub fn is_green(&self) -> bool
Sourcepub const fn executed(&self) -> usize
pub const fn executed(&self) -> usize
Cases actually executed and compared against an oracle.
Use this, not fixture_count, when reporting coverage: a suite whose
fixtures are largely retired is green but barely checked, and the two
numbers must not be conflated.
Sourcepub fn retirement_report(&self) -> Vec<String>
pub fn retirement_report(&self) -> Vec<String>
Human-readable retirement summary, empty when nothing is retired.
Every retired case is named WITH its reason: a retirement nobody can see is ceremony, and a silent skip is the pass-by-skip hazard this guards.
Trait Implementations§
Source§impl Clone for PacketParityReport
impl Clone for PacketParityReport
Source§impl Debug for PacketParityReport
impl Debug for PacketParityReport
Source§impl<'de> Deserialize<'de> for PacketParityReport
impl<'de> Deserialize<'de> for PacketParityReport
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
Source§impl PartialEq for PacketParityReport
impl PartialEq for PacketParityReport
Source§impl Serialize for PacketParityReport
impl Serialize for PacketParityReport
impl StructuralPartialEq for PacketParityReport
Auto Trait Implementations§
impl Freeze for PacketParityReport
impl RefUnwindSafe for PacketParityReport
impl Send for PacketParityReport
impl Sync for PacketParityReport
impl Unpin for PacketParityReport
impl UnsafeUnpin for PacketParityReport
impl UnwindSafe for PacketParityReport
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
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