Skip to content

JUnit-Parser v1.4.0

Choose a tag to compare

@borisfaure borisfaure released this 20 Apr 21:25
· 31 commits to main since this release
v1.4.0
8116a3f

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.