pub struct TestReport {
pub metadata: ReportMetadata,
pub summary: TestSummary,
pub metrics: TestMetrics,
pub target_results: Vec<TargetResultEntry>,
pub timeline: Vec<TimelineEvent>,
pub notes: Vec<String>,
}Expand description
Complete test report.
Fields§
§metadata: ReportMetadataReport metadata.
summary: TestSummaryTest summary.
metrics: TestMetricsCollected metrics.
target_results: Vec<TargetResultEntry>Individual target results.
timeline: Vec<TimelineEvent>Timeline of events.
notes: Vec<String>Additional notes.
Implementations§
Source§impl TestReport
impl TestReport
Sourcepub fn builder(name: impl Into<String>) -> TestReportBuilder
pub fn builder(name: impl Into<String>) -> TestReportBuilder
Create a new test report builder.
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
Export report as markdown.
Trait Implementations§
Source§impl Clone for TestReport
impl Clone for TestReport
Source§fn clone(&self) -> TestReport
fn clone(&self) -> TestReport
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 TestReport
impl Debug for TestReport
Source§impl<'de> Deserialize<'de> for TestReport
impl<'de> Deserialize<'de> for TestReport
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
Auto Trait Implementations§
impl Freeze for TestReport
impl RefUnwindSafe for TestReport
impl Send for TestReport
impl Sync for TestReport
impl Unpin for TestReport
impl UnsafeUnpin for TestReport
impl UnwindSafe for TestReport
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