# gotestsum mit Homebrew, apk, apt, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gotestsum in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gotestsum
```

  Evidenz: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add gotestsum
```

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

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

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

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

## Paketfakten

- **Paketschlüssel:** brew:gotestsum
- **Paketmanager:** Homebrew
- **Version:** 1.13.0
- **Quellzusammenfassung:** Human friendly go test runner
- **Homepage:** <https://github.com/gotestyourself/gotestsum>
- **Repository:** <https://github.com/gotestyourself/gotestsum>
- **Zuletzt aktualisiert:** 2026-08-02T20:52:08+09:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- gotestsum (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.13.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

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


## Quellen

- 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
