gotestsum
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What gotestsum is
gotestsum is a Go test runner that executes go test -json and prints formatted output followed by a run summary. Output formats range from one dot per test to per-package lines, testdox sentences and the standard go test styles. It accepts any go test flag and can run a compiled test binary. The --junitfile option writes JUnit XML for CI systems. The --jsonfile option saves the raw test2json stream. The --rerun-fails option reruns failed tests instead of the whole suite. Watch mode reruns tests for a package when a .go file is saved. A slowest subcommand finds slow tests and can add skip statements.
Written from the project's README, read .
- Category
- CI and reporting
- License
- Apache-2.0
- Language
- Go
- Changelog
- Releases on GitHub
Repository metrics
Status
slowLast commit 91 to 365 days before the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed CI and reporting tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from gotestsum's, with its source.
Lighthouse CI: Languages or inputs covered: URLs, or HTML files in a static build directory (staticDistDir). source: Docs: Configuration
nyc: Languages or inputs covered: JavaScript (ES5, ES2015+); Babel and TypeScript through source maps. source: README
Allure Report: Languages or inputs covered: Result files written by framework integrations to the allure-results directory. source: Docs: How to generate a report
JaCoCo: Languages or inputs covered: Java code. source: README
Coverage.py: Languages or inputs covered: Python code (CPython 3.10 to 3.15, PyPy3). source: README
c8: Languages or inputs covered: JavaScript run in Node.js through native V8 coverage; TypeScript and JSX through source maps. source: README
ReportPortal: Languages or inputs covered: Test results sent by framework agents; imported JUnit or Robot Framework XML files. source: Docs: Import data to ReportPortal
Test Reporter: Languages or inputs covered: Test result files in XML or JSON format. source: README
How to install
go install gotest.tools/gotestsum@latestQuestions
Is gotestsum open source?
Yes. gotestsum is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is gotestsum maintained?
On 2026-09-22, the last commit to the default branch was on 2026-04-15, so the listed status is slow. Rule: Last commit 91 to 365 days before the fetch date.
How many GitHub stars does gotestsum have?
2,721 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is gotestsum written in?
The repository's primary language, as reported by the GitHub API, is Go.
How do I install gotestsum?
The README gives this command: go install gotest.tools/gotestsum@latest
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- README, read