macOS
brew install gotestsumlocal Homebrew formula metadata
安装
brew install gotestsumlocal Homebrew formula metadata
sudo apk add gotestsumAlpine Linux edge package indexes · gotestsum · 来源: dl-cdn.alpinelinux.org
sudo apt install gotestsumDebian stable package indexes · gotestsum · 来源: deb.debian.org
nix profile install nixpkgs#gotestsumnixpkgs package indexes · pkgs/by-name/go/gotestsum/package.nix · 来源: api.github.com
sudo zypper install gotestsumopenSUSE Tumbleweed package metadata · gotestsum · 来源: download.opensuse.org
概览
Human friendly go test runner
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gotestsum | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/gotestyourself/gotestsum
安装元数据
| 软件包键 | brew:gotestsum |
|---|---|
| 版本 | 1.13.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/gotestsum |
| 主页 | https://github.com/gotestyourself/gotestsum |
| 仓库 | https://github.com/gotestyourself/gotestsum |
| 上游文档 | https://github.com/gotestyourself/gotestsum#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/gotestyourself/gotestsum/archive/refs/tags/v1.13.0.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 gotestsum来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.