gotestsum
« Back to VersTracker
Description:
Human friendly `go test` runner
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: golang testing dev-tools ci-cd reporting
Install: brew install gotestsum
About:
Gotestsum is a test runner that wraps the standard `go test` command to provide structured test output and a user-friendly CLI experience. It executes Go tests while capturing and transforming the output into formats like JUnit XML, JSON, or a pretty-printed summary. Its main value proposition is improving test visibility in CI/CD pipelines and local development by providing actionable insights and machine-readable reports.
Key Features:
  • Pretty-printed test output with progress indicators
  • Support for JUnit XML and JSON (TAP) test report formats
  • Seamless wrapper around `go test` with full compatibility
  • Configurable test execution timeouts and retries
  • Failing test summary and diagnostics
Use Cases:
  • Generating test reports for CI/CD systems like Jenkins, GitLab CI, or GitHub Actions
  • Improving local developer workflow with clearer test output and failure summaries
  • Debugging test flakiness by analyzing structured test execution logs
Alternatives:
  • richgo – richgo also enhances `go test` output with colorized and formatted logs, but Gotestsum focuses more on structured reporting for CI/CD integration.
  • go test – The native Go test tool provides raw output; Gotestsum adds a presentation layer and report generation without replacing the core testing engine.
Version History
Detected Version Rev Change Commit
Sep 12, 2025 7:04am 0 VERSION_BUMP 978d9523