pub struct JunitReport {
pub name: String,
pub duration: Duration,
pub test_cases: Vec<JunitTestCase>,
}Expand description
A complete JUnit XML test suite for serialization.
Fields§
§name: StringName of the test suite (defaults to “victauri”).
duration: DurationTotal wall-clock duration of the suite.
test_cases: Vec<JunitTestCase>Individual test results.
Implementations§
Source§impl JunitReport
impl JunitReport
Sourcepub fn from_verify_report(
report: &VerifyReport,
suite_name: &str,
duration: Duration,
) -> Self
pub fn from_verify_report( report: &VerifyReport, suite_name: &str, duration: Duration, ) -> Self
Creates a report from a VerifyReport with the given suite name and duration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JunitReport
impl RefUnwindSafe for JunitReport
impl Send for JunitReport
impl Sync for JunitReport
impl Unpin for JunitReport
impl UnsafeUnpin for JunitReport
impl UnwindSafe for JunitReport
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