# Installer gotestsum avec Homebrew, apk, apt, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gotestsum pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install gotestsum
```

  Preuve: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gotestsum
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:gotestsum
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/gotestsum>
- **Version:** 1.13.0
- **Résumé source:** Human friendly go test runner
- **Page d'accueil:** <https://github.com/gotestyourself/gotestsum>
- **Dépôt:** <https://github.com/gotestyourself/gotestsum>
- **Licence:** Apache-2.0
- **Archive source:** <https://github.com/gotestyourself/gotestsum/archive/refs/tags/v1.13.0.tar.gz>
- **Dernière mise à jour:** 2026-08-02T20:52:08+09:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- gotestsum (cli)
- gotestsum (alias)

## Dépendances de compilation

- go

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 1.13.0
- gestionnaire mis à jour: 2026-08-02
- données locales: OK
- dépôt amont: https://github.com/gotestyourself/gotestsum
- dernière version détectée: v1.13.0 (à jour)
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
