Skip to content

Releases: borisfaure/junit-parser

JUnit-Parser v1.5.0

07 Oct 07:41
v1.5.0
2b53051

Choose a tag to compare

1.5.0 -- 2025-09-28

  • Add support for optional attributes timestamp in the <testsuites> and <testcase> elements.
  • Add parse_junit binary for parsing and debugging JUnit XML files.
  • Add feature chrono to parse timestamp attributes as chrono::DateTime<Utc>.

JUnit-Parser v1.4.0

20 Apr 21:25
v1.4.0
8116a3f

Choose a tag to compare

1.4.0 -- 2025-04-20

  • Add support for parsing rerun/flaky elements (<flakyFailure>, <flakyError>, <rerunFailure>, <rerunError>) within <testcase>.
    • Introduce RerunKind enum and RerunType struct to represent these elements.
    • Parse attributes (type, message, time, timestamp) and nested elements (system-out, system-err, stackTrace) for reruns.
    • Update TestCase to store all rerun types in a single reruns: Vec<RerunType> field.
  • 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

06 Oct 15:49
v1.3.0
9cd352e

Choose a tag to compare

1.3.0 -- 2024-10-06

  • Parse CDATA sections in system-out, system-err, failure, error and
    skipped elements

JUnit-Parser v1.1.0

10 Jan 20:26
v1.1.0
493b911

Choose a tag to compare

1.1.0 -- 2024-01-10

  • Support nested testsuite tags
  • Support the testrun tag acting as testsuites
  • Update quick-xml to 0.31

JUnit-Parser v1.0.0

24 Sep 19:11
v1.0.0
b3c09e4

Choose a tag to compare

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-out and system-err elements
  • Parse the properties element as a hashmap (with the
    properties_as_hashmap feature enabled by default) or as a vector (with
    the properties_as_vector feature enabled by default)
  • Parse the timestamp, hostname, assertions, id, package, log,
    url, version, file and line optional attributes in TestSuite
  • Derive Default for TestError, TestSkipped, TestFailure
  • Derive Clone to public structure
  • Add serde as optional dependency to (de)serialize the public structures.
    Disabled by default but can be activated through the serde feature.
  • Update documentation
  • Add CI based on GitHub Actions