Skip to content

Add compact reporter for package tests - #220

Merged
gadenbuie merged 10 commits into
mainfrom
feat/compact-test-reporter
Sep 25, 2026
Merged

gadenbuie merged 10 commits into
mainfrom
feat/compact-test-reporter

Conversation

@gadenbuie

Copy link
Copy Markdown
Collaborator

Summary

Add a compact testthat reporter for package tests. The btw pkg test CLI now streams per-file progress and timing by default; btw_tool_pkg_test() keeps concise, non-streaming output by default. Both accept a reporter choice, including compact, minimal, or any testthat reporter name.

The reporter tracks results across parallel test files, prints warning and failure details with source locations, and ends with a totals line. The package now requires testthat >= 3.1.7 for reporter hooks.

For example, run btw pkg test --reporter compact for streamed per-file output, or call btw_tool_pkg_test(reporter = \"minimal\") for concise tool output.

@gadenbuie
gadenbuie marked this pull request as ready for review September 25, 2026 14:32
@gadenbuie
gadenbuie merged commit c317bc7 into main Sep 25, 2026
9 checks passed
@gadenbuie
gadenbuie deleted the feat/compact-test-reporter branch September 25, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant