Releases: borisfaure/junit-parser
Releases · borisfaure/junit-parser
JUnit-Parser v1.5.0
1.5.0 -- 2025-09-28
- 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>.
JUnit-Parser v1.4.0
1.4.0 -- 2025-04-20
- 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.
JUnit-Parser v1.3.0
1.3.0 -- 2024-10-06
- Parse CDATA sections in
system-out,system-err,failure,errorand
skippedelements
JUnit-Parser v1.1.0
1.1.0 -- 2024-01-10
- Support nested
testsuitetags - Support the
testruntag acting astestsuites - Update quick-xml to 0.31
JUnit-Parser v1.0.0
1.0.0 - 2023-09-24
- 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 the
properties_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 theserdefeature. - Update documentation
- Add CI based on GitHub Actions