pub struct TestConfig {
pub filter: Option<String>,
pub seed: u64,
pub default_budget: u64,
pub live: bool,
pub prove: bool,
pub all_tiers: bool,
pub page_tiers: Vec<PageTierKind>,
}Expand description
Runner configuration.
Fields§
§filter: Option<String>Substring filter over prose names (None = all).
seed: u64The suite seed (default 0 — reproducibility is the default).
default_budget: u64The default deterministic op budget per test; a test’s
This test may run up to N steps. sentence overrides it.
live: boolRun capability-granted (real-resource) tests too. Off by default — live tests leave the no-flake guarantee and are counted separately.
prove: bool--prove: escalate finite-domain properties to exhaustive proof.
all_tiers: bool--tiers all: re-run each passing test’s COMPUTATION on the bytecode VM
and COMPARE — outcome class, FULL output byte-for-byte, and error text
(a mismatch fails the test as a TIER DIVERGENCE); a computation the VM
cannot run is an explicit tier: refused (…) failure with
machine-readable TierEvidence — the user-facing F18
“works-on-my-tier” guard (Wave 13), honest by construction.
page_tiers: Vec<PageTierKind>Which page tiers a MOUNTED test also runs on and must agree with the reference (the page’s
lowered LOGOS on the tree-walker) — every candidate here beyond
crate::page_host::PageTierKind::LoweredHere runs
the test’s whole trace through page_host and compares it against the reference axis by
axis (page_host::PageTrace::compare), unconditionally, on every largo test run: “what
ships is not what is tested” is caught for free, not only under --tiers all. Defaults to
[LoweredHere, LoweredVm] — every mounted test also runs on the page’s lowered LOGOS on the
bytecode VM, the tier a browser actually runs. A Browser candidate here is exercised
only when the caller hands run_tests_with_launcher a live launcher; without one it is
reported as tier: refused rather than silently skipped.
Trait Implementations§
Source§impl Clone for TestConfig
impl Clone for TestConfig
Source§fn clone(&self) -> TestConfig
fn clone(&self) -> TestConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TestConfig
impl Debug for TestConfig
Auto Trait Implementations§
impl Freeze for TestConfig
impl RefUnwindSafe for TestConfig
impl Send for TestConfig
impl Sync for TestConfig
impl Unpin for TestConfig
impl UnsafeUnpin for TestConfig
impl UnwindSafe for TestConfig
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.