JUnit XML Report Viewer
Merge, filter and sort JUnit reports from any runner — locally, with exports.
Reports
0 file(s) · 0 case(s)Test results
0 of 0 shownNo reports loaded
Pick XML files or paste a JUnit report to see results.
Details
Drop or paste several JUnit XML reports and get one semantic table of suites, cases, statuses and durations. Filter by status, text, origin or duration, sort any column, inspect failure messages and stack traces, and export the visible rows as CSV or a normalized merged XML file. The parser tolerates pytest, jest-junit, Maven Surefire and go-junitxml dialects, including missing attributes and namespaced elements. Reports never leave the browser tab.
More examples
Parallel shards
<testsuites><testsuite name="shard-1">…</testsuite></testsuites>Drop four shard files, then filter by origin to isolate a regression in one shard.
Slowest cases
<testcase name="test_import" time="2.5"/>JUnit time is seconds; the viewer displays 2500 ms and ranks the case in the slowest-10 panel.
Failure detail
<failure message="assert 2 == 3" type="AssertionError">…</failure>Click a failed row to read the message, type and stack trace in the detail drawer.
Examples
Precise duration
<testcase name="test_add" time="0.001234"/>1.234 msJUnit time is seconds; the viewer preserves three decimal places of milliseconds.
Skipped case
<testcase name="pending"><skipped message="wip"/></testcase>skipped — wipSkipped is distinct from failed, and its message is displayed.
Merged shards
shard1.xml + shard2.xmlOne row per case with origin chipsDedupe keeps the first occurrence of suite/class/name when shards rerun a case.
About this tool
JUnit XML Report Viewer parses test reports into a single, filterable table. Drop files from parallel shards or paste XML, and every testcase becomes a row with suite, class, status, duration, origin file and failure message — regardless of whether the reporter was pytest, jest-junit, Maven Surefire or go-junitxml.
The summary bar reconciles totals from the parsed cases: passed, failed, error, skipped, pass rate, summed duration and a count of cases whose time attribute was missing. The slowest-10 panel ranks cases with real durations, and a detail drawer shows the full failure message, type and stack trace as text.
Merged results can be exported as a quoted CSV (including the suite column) or re-serialized as a normalized testsuites XML document. Parsing happens locally with DOMParser; reports — which often contain code paths and log snippets — are never uploaded, and message text is rendered as text, never HTML.
What this tool does not do
- Very large reports are parsed fully in the tab; windowed rendering is not yet implemented.
- Dialect support covers common JUnit elements; exotic vendor attributes are ignored.
- Time is assumed to be seconds for every dialect; missing times are shown as an em dash and excluded from rankings.
- Compare mode is limited to added, removed and status-changed cases by suite/class/name.
- No reports, filters or results are persisted between visits; nothing is uploaded.
How to use this tool
Load reports
Pick multiple .xml files or paste XML and choose Add pasted report. Per-file parse errors appear as chips; other files still load.
Filter the table
Toggle status checkboxes, search names and messages, filter by origin file and set a minimum duration in milliseconds.
Sort and inspect
Click a column header to sort; clicking again reverses direction. Click a row to open its failure detail drawer.
Deduplicate if needed
Shards often rerun the same class and name. The Dedupe toggle keeps the first case per suite/class/name.
Export
Download the visible rows as CSV or as a normalized testsuites XML file to attach to a ticket or report.
Use cases
Parallel CI shards
Combine reports from several jobs and filter by origin to isolate a flaky shard.
Flaky-failure triage
Sort by duration and open the failure detail to compare messages and stack traces.
Release reports
Summarize totals and the slowest cases, then export CSV for a release note or ticket.
Dialect sanity checks
Confirm that a runner's XML exposes the expected statuses and durations before wiring it into a dashboard.
Canonical case fields
| Field | Meaning |
|---|---|
| suite / class / name | Suite path, classname (or suite fallback) and test name |
| status | passed, failed, error or skipped from the child element |
| duration_ms | JUnit seconds × 1000, rounded to three decimals; blank when missing |
| origin | Filename of the report the case came from |
| message / type | failure/error/skipped message, type and stack text |
| file / line | pytest's optional source location attributes |
One case with both failure and error children is a single error row with both messages labeled.
Common mistakes
Mistake:Reading JUnit time as milliseconds.
Fix:The JUnit convention is seconds; the viewer converts to ms and rounds to three decimals.
Mistake:Treating skipped as passed.
Fix:Skipped is its own status with its own message and is excluded from the pass rate.
Mistake:Assuming suite count attributes are authoritative.
Fix:The viewer derives counts from parsed cases so present-but-inconsistent attributes cannot skew the summary.
Mistake:Expecting shared text to disappear after dedupe.
Fix:Dedupe keeps the first case per suite/class/name; turn it off to see every shard's row with its origin.
Mistake:Worrying about formula injection in exported CSV.
Fix:Cells beginning with =, +, - or @ are prefixed with an apostrophe and embedded quotes are doubled.
Frequently asked questions
Which runners' XML is supported?
The parser targets the de-facto JUnit schema: testsuites/testsuite/testcase with failure, error and skipped children. pytest, jest-junit, Maven Surefire and go-junitxml reports work in practice, including namespaced elements, missing attributes, nested suites and pytest's file/line attributes. A file that is not JUnit XML produces a per-file error chip without affecting the others.
Can I merge reports from parallel jobs?
Yes. Pick or drop as many XML files as you like; every case carries its origin filename. Filter by origin to isolate a shard, or enable Dedupe to keep the first case per suite/class/name when shards rerun the same test.
How are durations summed and displayed?
JUnit time attributes are seconds. The viewer converts them to milliseconds, rounds to three decimals (0.001234 s becomes 1.234 ms), sums them for the summary and ranks cases with real durations in the slowest-10 panel. Missing times show an em dash and are excluded from rankings and the missing-duration count.
What counts as skipped versus failed?
A testcase with a skipped child is skipped, with its message shown; failures and errors map to failed and error respectively. A case containing both failure and error stays a single error row with both messages labeled. Skipped cases are counted separately and are not part of the pass rate.
What can I export?
The visible rows can be downloaded as CSV with suite, case, class, status, duration, origin, file, line and a truncated message, or as a normalized testsuites XML document. CSV cells with formula-like prefixes are neutralized and quotes are doubled for spreadsheet safety.
Is my report uploaded anywhere?
No. Parsing, filtering and exporting happen entirely in your browser tab. There is no upload, no server-side analysis and no persistence of reports or filters. Failure messages and stack traces are rendered as text, not HTML.
References & standards
Related tools
.env Secret Safety Linter
Validate .env syntax and spot likely leaked credentials or placeholder secrets.
.gitattributes Generator
Build .gitattributes rules for line endings, Git LFS, GitHub linguist marks and merge drivers — with a one-line explanation for every rule.
.htaccess Generator
Build an Apache .htaccess — HTTPS redirects, rewrites, error pages, security headers, and basic auth
2D Fluid Dynamics & Particle Physics Sandbox
A physics playground with two engines sharing one canvas. The fluid mode runs a real Eulerian Navier-Stokes solver — semi-Lagrangian advection, explicit diffusion, Jacobi pressure projection and vorticity confinement — that you paint with dye and velocity using mouse or touch. The particle mode is a damped Verlet N-body engine with gravity wells, Coulomb attractors and repulsors, spring links, wall restitution and elastic circle collisions. Particle counts adapt to the device (100k target on WebGL2 desktop, 2k-5k on CPU fallback), and every configuration exports as runnable code: a Matter.js world, a PixiJS ticker setup, or a standalone vanilla Canvas engine.
A/B Test Sample Size Calculator
Compute required sample size per variant and test duration from baseline conversion rate, minimum detectable effect, alpha and power.
ABA Routing Number Validator
Validate 9-digit US ABA routing numbers with 3-7-1 Mod-10 breakdown.