Free tool

Turn a JUnit XML file into a readable report

Drop the XML your test runner wrote. See the totals, every failure with its stack trace, the slowest tests and each suite, and download it all as one HTML file. Your file stays in your browser.

Runs in your browserNo sign-upPlaywright, pytest, Jest, Maven and more
No report handy?
Choose an XML file Read in your browser, not uploaded.

The report your CI log doesn't show

A JUnit file has everything about a run, but it's hard to read as raw XML. The viewer puts the failures first so you can see what broke and where.

Save the report

Download the JUnit XML from your CI run's artifacts, or write one locally with your runner's JUnit reporter.

Drop it here

Failures and errors come first, each with its message, where it ran and the first lines of the trace. Expand a trace to see all of it.

Share it

Download the report as one HTML file with no scripts. It opens in any browser, so you can attach it to a bug or a pull request.

What it shows

  • Tests, passed, failed, errors, skipped and total time
  • Each failure with its message, class, file and stack trace, and a likely cause from fixed rules on the message
  • The 10 slowest tests, and every suite with its own counts

What it doesn't do

  • Compare runs. For that, use the flaky test finder.
  • Show screenshots, videos or attachments the runner saved next to the report
  • Tell you if a failure is a real bug or a flaky test. Our guide to fixing flaky tests covers how to tell.

FAQ

Did we miss a question?
Email us directly →

What is a JUnit XML report?
A file most test runners can write when a run ends. A <testsuites> root holds one <testsuite> per file or class, and each <testcase> inside has a name, a class and a time. A test that didn't pass carries a <failure>, <error> or <skipped> element with the message and stack trace. CI tools read it to show test results.
How do I get a JUnit report from my test runner?
Most runners have a switch for it. Playwright: npx playwright test --reporter=junit, with PLAYWRIGHT_JUNIT_OUTPUT_NAME set to a file name. pytest: pytest --junitxml=report.xml. Jest: the jest-junit reporter. Cypress: the mocha-junit-reporter. Maven and Gradle write one XML file per test class (in target/surefire-reports and build/test-results).
What is the difference between a failure and an error?
A failure means a check in the test didn't hold, like an assertion that expected one value and got another. An error means the test broke before it could check, like an exception, a crash or a lost connection. Runners don't all draw the line in the same place, so the viewer lists both together and labels each one.
Is my report uploaded anywhere?
No. The file is read by JavaScript in your browser and never sent to Pie or anyone else. The HTML download is built in your browser too.
What is in the HTML download?
The same report as one file: totals, every failure with its full stack trace, the slowest tests and the suites table. It has its styles built in and no scripts, so it opens in any browser and can be attached to a ticket or a pull request.
Can it compare several runs?
This viewer reads one file at a time. If that file holds several runs (several <testsuites> blocks), it shows them together. To compare runs and find the tests that flip between pass and fail, use the flaky test finder.

Know what broke without reading XML.

Pie runs plain-English tests on your web and mobile apps like a real user and reports what broke.