guides

Setup guides by test runner

Every guide is a complete, copy-paste GitHub Actions workflow checked against the real runner. Each one handles empty shards, keeps pull requests from overwriting timings, and prevents pattern-matching runners from executing files twice.

Runner Report format How exact files are passed record flags
pytest JUnit XML (junit_family=xunit1) File arguments after -- —
Jest JUnit XML (jest-junit) Anchored escaped regex per file —
Vitest Inline full-cost reporter (--format lines) include from BUNPO_TESTS_FILE --format lines
RSpec JUnit XML (rspec_junit_formatter) File arguments after -- —
Playwright Built-in JUnit reporter --test-list --file-from classname --path-prefix tests

Using another runner? Write one <path> <milliseconds> line per passing file (and <path> - for a failed file) and pass bunpo record --format lines.