Struct junit_report::TestSuite
source · pub struct TestSuite { /* private fields */ }
Expand description
A TestSuite
groups together several TestCase
s.
Implementations§
source§impl TestSuite
impl TestSuite
sourcepub fn add_testcase(&mut self, testcase: TestCase)
pub fn add_testcase(&mut self, testcase: TestCase)
Add a TestCase
to the TestSuite
.
sourcepub fn add_testcases(&mut self, testcases: &mut Vec<TestCase>)
pub fn add_testcases(&mut self, testcases: &mut Vec<TestCase>)
Add several TestCase
s from a Vec.
sourcepub fn set_timestamp(&mut self, timestamp: DateTime<Utc>)
pub fn set_timestamp(&mut self, timestamp: DateTime<Utc>)
Set the timestamp of the given TestSuite
.
By default the timestamp is set to the time when the TestSuite
was created.