- Add support for optional attributes
timestampin the<testsuites>and<testcase>elements. - Add
parse_junitbinary for parsing and debugging JUnit XML files. - Add feature
chronoto parsetimestampattributes aschrono::DateTime<Utc>.
- Add support for parsing rerun/flaky elements (
<flakyFailure>,<flakyError>,<rerunFailure>,<rerunError>) within<testcase>.- Introduce
RerunKindenum andRerunTypestruct to represent these elements. - Parse attributes (
type,message,time,timestamp) and nested elements (system-out,system-err,stackTrace) for reruns. - Update
TestCaseto store all rerun types in a singlereruns: Vec<RerunType>field.
- Introduce
- Handle multiple
<system-out>and<system-err>tags within<testcase>and rerun elements by concatenating their content, separated by newlines. - Handle unknown tags by ignoring their content even if they would contain known tags.
- Support multiple text/CDATA sections by concatenating their content, separated by newlines.
- Add comprehensive tests for rerun and system-out/err parsing, unknown tags and multiple text/CDATA sections.
- Update quick-xml to 0.37
- Parse CDATA sections in
system-out,system-err,failure,errorandskippedelements
- Update quick-xml to 0.36
- Update quick-xml to 0.35
- Update quick-xml to 0.34
- Update quick-xml to 0.33
- Update quick-xml to 0.32
- Add
Error::UnexpectedEndOfFilevariant when the XML file ends unexpectedly
- Simplify code
- Support nested
testsuitetags - Support the
testruntag acting astestsuites - Update quick-xml to 0.31
- Support only rust-1.56 or later
- Use rust 2021 edition
- Update quick-xml to 0.30
- HTML-unescape attributes
- Parse the
system-outandsystem-errelements - Parse the
propertieselement as a hashmap (with theproperties_as_hashmapfeature enabled by default) or as a vector (with theproperties_as_vectorfeature enabled by default) - Parse the
timestamp,hostname,assertions,id,package,log,url,version,fileandlineoptional attributes inTestSuite - Derive
DefaultforTestError,TestSkipped,TestFailure - Derive
Cloneto public structure - Add serde as optional dependency to (de)serialize the public structures.
Disabled by default but can be activated through the
serdefeature. - Update documentation
- Add CI based on GitHub Actions
- Update quick-xml to 0.22
- Store test name as CLASSNAME::NAME
- Use a vec instead of a hashmap, to keep test {suites/cases} order
- Derive Clone on public structures
- Initial release