pub struct TestOutcome {
pub name: String,
pub verdict: Verdict,
pub failures: Vec<String>,
pub skip_reason: Option<String>,
pub ops: u64,
pub vacuous: bool,
pub mounted: bool,
pub property: Option<PropertyInfo>,
pub proved_by_exhaustion: bool,
pub tier: Option<TierEvidence>,
}Expand description
One executed (or skipped) test.
Fields§
§name: StringThe prose name — the test’s identity.
verdict: Verdict§failures: Vec<String>Every failure recorded during the run (empty for pass/skip).
skip_reason: Option<String>The mandatory skip reason, when skipped.
ops: u64Ops executed (deterministic; identical across machines and -j N).
vacuous: boolTrue when the test ran clean but asserted NOTHING (no Expect/For all)
— the vacuous-green the non-vacuity gate fails; surfaced here so the
inventory can flag it explicitly (G13-full), not just fail it.
mounted: boolWhether this test MOUNTED a page — the honest signal that it drives a document rather than
checking a value, and what makes it a Component claim in the inventory. Read from the
test’s own body, so it says what the test DOES rather than what the run was configured to
do: a project with both kinds must tell them apart within one document.
property: Option<PropertyInfo>The For all property this test exercised, if any — None for a plain
Expect-only example. Drives the inventory’s property classification and
its bound disclosure.
proved_by_exhaustion: boolWhether the run was under --prove (finite-domain exhaustion escalation).
Carried so the inventory can distinguish an exhausted proof-by-cases from
a sampled hold without re-reading the config.
tier: Option<TierEvidence>Cross-tier evidence under --tiers all; None when the guard did not
run this test (flag off, or the test already failed/skipped).
Trait Implementations§
Source§impl Clone for TestOutcome
impl Clone for TestOutcome
Source§fn clone(&self) -> TestOutcome
fn clone(&self) -> TestOutcome
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TestOutcome
impl Debug for TestOutcome
Auto Trait Implementations§
impl Freeze for TestOutcome
impl RefUnwindSafe for TestOutcome
impl Send for TestOutcome
impl Sync for TestOutcome
impl Unpin for TestOutcome
impl UnsafeUnpin for TestOutcome
impl UnwindSafe for TestOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.