# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/gotestsum>
- **バージョン:** 1.13.0
- **ソース概要:** Human friendly go test runner
- **ホームページ:** <https://github.com/gotestyourself/gotestsum>
- **リポジトリ:** <https://github.com/gotestyourself/gotestsum>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/gotestyourself/gotestsum/archive/refs/tags/v1.13.0.tar.gz>
- **最終更新:** 2026-08-02T20:52:08+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- gotestsum (cli)
- gotestsum (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.13.0
- マネージャ更新日: 2026-08-02
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/gotestyourself/gotestsum
- 検出された最新: v1.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

## ソースデータベース詳細

- **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:** head, stable

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

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [cargo-nextest](https://pkg.so/ja/brew/cargo-nextest/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, test-runner, testing.
- [gotests](https://pkg.so/ja/brew/gotests/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang, testing.
- [golangci-lint](https://pkg.so/ja/brew/golangci-lint/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, go.
- [yamlfmt](https://pkg.so/ja/brew/yamlfmt/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, go.
- [mockery](https://pkg.so/ja/brew/mockery/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [pytest](https://pkg.so/ja/brew/pytest/) - Shares pkgdb curated category or tags: cli, developer-tools, test-runner, testing.
- [tox](https://pkg.so/ja/brew/tox/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, testing.
- [staticcheck](https://pkg.so/ja/brew/staticcheck/) - Shares pkgdb curated category or tags: ci, cli, developer-tools, go.
- [vows](https://pkg.so/ja/npm/vows/) - Local metadata places this package in an adjacent workflow. Shared terms: ci, cli, developer, developer-tools, runner.
- [richgo](https://pkg.so/ja/brew/richgo/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, output.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
