# gotestsum を Homebrew, apk, apt, Nix, zypper でインストール

gotestsum のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:gotestsum
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install gotestsum
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gotestsum
```

  証拠: Alpine Linux edge package indexes: gotestsum from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install gotestsum
```

  証拠: Debian stable package indexes: gotestsum from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#gotestsum
```

  証拠: nixpkgs package indexes: pkgs/by-name/go/gotestsum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install gotestsum
```

  証拠: openSUSE Tumbleweed package metadata: gotestsum from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:gotestsum
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.13.0
- **ソース概要:** Human friendly go test runner
- **ホームページ:** <https://github.com/gotestyourself/gotestsum>
- **リポジトリ:** <https://github.com/gotestyourself/gotestsum>
- **最終更新:** 2026-08-02T20:52:08+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- gotestsum (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.13.0
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2018: Repository created.
- 2018: v0.1 release published.
- 2023: v1.10.0 and v1.11.0 releases continued the 1.x line.
- 2024: v1.12.0 added work including file-watcher and output-format improvements.
- 2025: v1.13.0 release included watch-clear support and Go test attribute handling.

### Related projects

- go test -json and cmd/test2json provide the event format gotestsum consumes.
- JUnit XML consumers in CI systems are a major target for gotestsum's report output.
- gotest.tools is the broader module namespace associated with gotestsum.

### ソース

- <https://formulae.brew.sh/formula/gotestsum>
- <https://github.com/gotestyourself/gotestsum>
- <https://github.com/gotestyourself/gotestsum#readme>
- <https://github.com/gotestyourself/gotestsum/releases>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - gotestsum - 1.8.2-1+b14: normalized package name match | Debian stable package indexes: gotestsum from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Feature-rich runner for go test | https://github.com/gotestyourself/gotestsum
- Nix - gotestsum: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gotestsum/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gotestsum - 1.8.2-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gotestsum from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Feature-rich runner for go test | https://github.com/gotestyourself/gotestsum
- apk - gotestsum - 1.13.0-r8: normalized package name match | Alpine Linux edge package indexes: gotestsum from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | 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
- zypper - gotestsum - 1.13.0-1.7: normalized package name match | openSUSE Tumbleweed package metadata: gotestsum from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI Go test runner with output optimized for human readability | https://github.com/gotestyourself/gotestsum


## Combined YAML source

View the package source record on GitHub. [combined/gotestsum.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gotestsum.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
