macOS
brew install gotestsumlocal Homebrew formula metadata
brew
Human friendly go test runner. Version 1.13.0 via Homebrew; verified from local package data.
install
brew install gotestsumlocal Homebrew formula metadata
sudo apk add gotestsumAlpine Linux edge package indexes · gotestsum · source: dl-cdn.alpinelinux.org
sudo apt install gotestsumDebian stable package indexes · gotestsum · source: deb.debian.org
nix profile install nixpkgs#gotestsumnixpkgs package indexes · pkgs/by-name/go/gotestsum/package.nix · source: api.github.com
sudo zypper install gotestsumopenSUSE Tumbleweed package metadata · gotestsum · source: download.opensuse.org
overview
Human friendly go test runner
history
gotestsum is a wrapper around go test -json that formats Go test output for humans while preserving machine-readable data for CI systems. It sits between the standard Go test runner and developer-facing or automation-facing reporting needs.
The gotestyourself/gotestsum repository was created in March 2018, and its first GitHub release, v0.1, was published in May 2018. The project grew around Go's test2json stream, adding output formats, summaries, JUnit XML, JSON log capture, rerun support for failed tests, watch mode, and tooling for finding slow tests.
The README presents gotestsum as a test runner designed for both local development and CI automation. Its release notes show sustained maintenance after the 1.0 era, including support for additional output options, file-watching improvements, flaky-test reruns, CI report controls, and platform fixes.
The project documents usage by large Go projects and infrastructure stacks, including Kubernetes, Moby, etcd, HashiCorp Vault, Pulumi, Grafana Loki, Telegraf, and containerd. That list reflects the tool's appeal in repositories where raw go test output is too noisy but replacing the Go test runner would be undesirable.
A common invocation is to run gotestsum in place of go test, pass Go test flags after --, and choose a display format such as pkgname, dots, testname, testdox, or standard-compatible modes. In CI, users often add --junitfile for test-report ingestion and --jsonfile to retain the original test2json stream for later analysis.
For local loops, gotestsum offers --watch to rerun tests after Go files change, --post-run-command for notifications or follow-up scripts, and gotestsum tool slowest for identifying expensive tests. Its design keeps go test semantics close while making the output easier to scan.
gotestsum matters to package nerds because it is a canonical example of a CLI that wraps a standard tool without hiding it. It takes Go's structured test event stream seriously, turns it into useful terminal UX, and exports formats that CI servers already know how to consume.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gotestsum | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/gotestyourself/gotestsum
install metadata
| Package key | brew:gotestsum |
|---|---|
| Version | 1.13.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gotestsum |
| Homepage | https://github.com/gotestyourself/gotestsum |
| Repository | https://github.com/gotestyourself/gotestsum |
| Upstream docs | https://github.com/gotestyourself/gotestsum#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/gotestyourself/gotestsum/archive/refs/tags/v1.13.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gotestsum |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gotestsum 1.8.2-1+b14
Feature-rich runner for go test
https://github.com/gotestyourself/gotestsum
sudo apt install gotestsumgotestsum
nix profile install nixpkgs#gotestsumgotestsum 1.8.2-1build1
Feature-rich runner for go test
https://github.com/gotestyourself/gotestsum
sudo apt install gotestsumgotestsum 1.13.0-r7
Go test runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results
https://github.com/gotestyourself/gotestsum
sudo apk add gotestsumgotestsum 1.13.0-1.4
CLI Go test runner with output optimized for human readability
https://github.com/gotestyourself/gotestsum
sudo zypper install gotestsumsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.