pub struct HarnessResult {
pub name: String,
pub passed: bool,
pub total: u32,
pub passed_count: u32,
pub failed_count: u32,
pub skipped_count: u32,
pub duration_secs: Option<f64>,
pub source_format: Option<String>,
}Expand description
Result of a single test/harness execution (Layer 2: Deterministic Gates).
Fields§
§name: StringHarness name (e.g. “unit-tests”, “integration-tests”, “lint”, “typecheck”).
passed: boolWhether the harness passed.
total: u32Total number of test cases (if applicable).
passed_count: u32Number of passed test cases.
failed_count: u32Number of failed test cases.
skipped_count: u32Number of skipped test cases.
duration_secs: Option<f64>Execution duration in seconds.
source_format: Option<String>Source format (e.g. “junit-xml”, “tap”, “custom”).
Trait Implementations§
Source§impl Clone for HarnessResult
impl Clone for HarnessResult
Source§fn clone(&self) -> HarnessResult
fn clone(&self) -> HarnessResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HarnessResult
impl Debug for HarnessResult
Source§impl<'de> Deserialize<'de> for HarnessResult
impl<'de> Deserialize<'de> for HarnessResult
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 HarnessResult
impl PartialEq for HarnessResult
Source§impl Serialize for HarnessResult
impl Serialize for HarnessResult
impl StructuralPartialEq for HarnessResult
Auto Trait Implementations§
impl Freeze for HarnessResult
impl RefUnwindSafe for HarnessResult
impl Send for HarnessResult
impl Sync for HarnessResult
impl Unpin for HarnessResult
impl UnsafeUnpin for HarnessResult
impl UnwindSafe for HarnessResult
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