pub enum TestStatus {
Passed,
Failed,
SkippedMissingGate,
SkippedMissingTool,
NotRun,
}Expand description
Structured test outcome for parity reporting.
Distinguishes the reason for a skip so that reports cannot be mistaken for passing evidence when tests did not actually run.
Variants§
Passed
Test ran and passed.
Failed
Test ran and failed.
SkippedMissingGate
Test skipped because the env-var gate was not set (e.g. EGRESS_REQUIRE_EXTERNAL_INTEROP).
SkippedMissingTool
Test skipped because the required external tool is not installed.
NotRun
Test was not run at all (e.g. CI job did not include this test group).
Trait Implementations§
Source§impl Clone for TestStatus
impl Clone for TestStatus
Source§fn clone(&self) -> TestStatus
fn clone(&self) -> TestStatus
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 moreimpl Copy for TestStatus
Source§impl Debug for TestStatus
impl Debug for TestStatus
Source§impl<'de> Deserialize<'de> for TestStatus
impl<'de> Deserialize<'de> for TestStatus
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 Display for TestStatus
impl Display for TestStatus
impl Eq for TestStatus
Source§impl FromStr for TestStatus
impl FromStr for TestStatus
Source§impl Hash for TestStatus
impl Hash for TestStatus
Source§impl PartialEq for TestStatus
impl PartialEq for TestStatus
Source§impl Serialize for TestStatus
impl Serialize for TestStatus
impl StructuralPartialEq for TestStatus
Auto Trait Implementations§
impl Freeze for TestStatus
impl RefUnwindSafe for TestStatus
impl Send for TestStatus
impl Sync for TestStatus
impl Unpin for TestStatus
impl UnsafeUnpin for TestStatus
impl UnwindSafe for TestStatus
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.