Struct junit_parser::TestSuite
source · pub struct TestSuite {Show 20 fields
pub cases: Vec<TestCase>,
pub suites: Vec<TestSuite>,
pub time: f64,
pub tests: u64,
pub errors: u64,
pub failures: u64,
pub skipped: u64,
pub assertions: Option<u64>,
pub name: String,
pub timestamp: Option<String>,
pub hostname: Option<String>,
pub id: Option<String>,
pub package: Option<String>,
pub file: Option<String>,
pub log: Option<String>,
pub url: Option<String>,
pub version: Option<String>,
pub system_out: Option<String>,
pub system_err: Option<String>,
pub properties: Properties,
}
Expand description
A test suite, containing test cases TestCase
Fields§
§cases: Vec<TestCase>
List of status of tests represented by TestCase
suites: Vec<TestSuite>
List of tests suites represented by TestSuite
time: f64
How long the test suite took to run, from the time
attribute
tests: u64
Number of tests in the test suite, from the tests
attribute
errors: u64
Number of tests in error in the test suite, from the errors
attribute
failures: u64
Number of tests in failure in the test suite, from the failures
attribute
skipped: u64
Number of tests skipped in the test suites, from the skipped
attribute
assertions: Option<u64>
Number of assertions in the test suites, from the assertions
attribute
name: String
Name of the test suite, from the name
attribute
timestamp: Option<String>
Timestamp when the test suite was run, from the timestamp
attribute
hostname: Option<String>
Hostname where the test suite was run, from the hostname
attribute
id: Option<String>
Identifier of the test suite, from the id
attribute
package: Option<String>
Package of the test suite, from the package
attribute
file: Option<String>
Source code file of the test suite, from the file
attribute
log: Option<String>
Logger of the test suite, from the log
attribute
url: Option<String>
URL of the test suite, from the uri
attribute
version: Option<String>
Version of the test suite, from the version
attribute
system_out: Option<String>
stdout output from the system-out
element
system_err: Option<String>
stderr output from the system-err
element
properties: Properties
Properties of the test suite
Trait Implementations§
source§impl<'de> Deserialize<'de> for TestSuite
impl<'de> Deserialize<'de> for TestSuite
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>,
Auto Trait Implementations§
impl Freeze for TestSuite
impl RefUnwindSafe for TestSuite
impl Send for TestSuite
impl Sync for TestSuite
impl Unpin for TestSuite
impl UnwindSafe for TestSuite
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)