A JUnit XML report opens as its results

Test runners (JUnit, pytest, vitest, Go via gotestsum) write JUnit XML. A file named .junit.xml or TEST-.xml, or any .xml whose root is <testsuites> or <testsuite>, opens as results instead of raw XML; Source is one tap away. Any other .xml stays source.

Terminal: opening such a file in the workspace shows a table of result, case and message, headed by a totals row (junitTable in src/tui/screens/workspace.ts, over the same parseJunit), "N failing cases" in the status line; s flips to the source. A file that is not a report opens as source with the same reason.

Code: src/web/render/junit.ts, src/tui/screens/workspace.ts. Tests: test/render-junit.test.ts, test/tui-workspace-formats.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs