Struct junit_parser::TestSuite
source · pub struct TestSuite {Show 19 fields
pub cases: Vec<TestCase>,
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
time: f64How long the test suite took to run, from the time attribute
tests: u64Number of tests in the test suite, from the tests attribute
errors: u64Number of tests in error in the test suite, from the errors attribute
failures: u64Number of tests in failure in the test suite, from the failures attribute
skipped: u64Number 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: StringName 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: PropertiesProperties of the test suite