Skip to content

v2.4.0

Choose a tag to compare

@Wolfe-Jam Wolfe-Jam released this 29 Oct 21:38
· 42 commits to main since this release
2aadd6e

JUnit XML parser: TAF now reads the report format most test runners can write, so Python, Rust, Go, Java and .NET projects get receipts with no conversion script.

Added

  • JUnit XML parser (parseJunitOutput). Pass a JUnit XML report as test-output-file. Handles a <testsuites> root with or without totals, a single <testsuite>, nested suites (counted once), and suites with no counts (the <testcase> elements are counted). Failures and errors count as failed; skipped and disabled count as skipped. Tried first, because a report's captured stdout can hold another runner's summary line. Checked against a real pytest report: 202 passed, 4 skipped, the same as pytest printed.
  • skipped Action output. The README listed it; the Action now sets it.

Changed

  • README rewritten in plain English, with a recommended workflow: failed runs get a FAILED receipt (tests run with continue-on-error, then the job fails after the receipt), receipts on main only, one test run.
  • CLI --help lists JUnit XML among the parsers.

91 tests pass.

Upgrade: uses: Wolfe-Jam/faf-taf-git@v2.4.0