# gotests mit Homebrew, Nix installieren

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

## Installation

```sh
sudo av install brew:gotests
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gotests
```

  Evidenz: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gotests
```

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

## Paketfakten

- **Paketschlüssel:** brew:gotests
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/gotests>
- **Version:** 1.9.0
- **Quellzusammenfassung:** Automatically generate Go test boilerplate from your source code
- **Homepage:** <https://github.com/cweill/gotests>
- **Repository:** <https://github.com/cweill/gotests>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://github.com/cweill/gotests/archive/refs/tags/v1.9.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-25T20:55:27-04:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- gotests (cli)
- gotests (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 1.9.0
- Manager aktualisiert: 2026-07-25
- lokale Daten: OK
- Upstream-Repository: https://github.com/cweill/gotests
- neueste erkannte Version: v1.9.0 (aktuell)
## Projektgeschichte und Nutzung

gotests is a Go test-boilerplate generator. It analyzes functions and methods and emits table-driven test scaffolding, fitting the Go community's preference for generated but editable test code.

### Projektgeschichte

The repository was created in January 2016 and published early 1.x releases in 2016. The README describes the tool as a generator for table-driven tests and documents command-line filters for exported functions, named tests, recursive package traversal, templates, and writing generated tests back to files.

### Adoptionsgeschichte

The README highlights integrations with editor and IDE workflows, including Sublime Text, Emacs, Vim, Atom, Visual Studio Code, and GoLand. That adoption pattern made gotests useful as both a terminal command and an editor action for quickly producing test skeletons.

### Wie es verwendet wird

Typical usage is to run gotests against files or packages, optionally selecting specific functions, exported APIs, custom templates, or testify-style output. Later releases added full Go generics support and an optional local-LLM mode through Ollama for generating test cases.

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

gotests is the sort of package that shows how Go tooling tends to compose: it is not a test framework, but a small generator that feeds ordinary go test workflows and leaves normal Go source behind.

### Zeitleiste

- 2016: Repository created and v1.0 published.
- 2020: v1.6.0 release published.
- 2025: v1.8.0 release described full Go generics support.
- 2025: v1.9.0 release described local AI-powered test generation through Ollama.

### Related projects

- Go's table-driven test idiom is the coding style gotests automates.
- Go editor integrations such as VS Code Go and Vim plugins provide interactive entry points for generated tests.

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

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

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gotests
- **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

## Andere Paketmanager-Einträge

- Nix - gotests: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/gotests/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [gotestsum](https://pkg.so/de/brew/gotestsum/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang, testing.
- [mockery](https://pkg.so/de/brew/mockery/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [gup](https://pkg.so/de/brew/gup/) - Shares pkgdb curated category or tags: cli, developer-tools, go, golang.
- [richgo](https://pkg.so/de/brew/richgo/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [pict](https://pkg.so/de/brew/pict/) - Shares pkgdb curated category or tags: cli, developer-tools, test-generation, testing.
- [thriftgo](https://pkg.so/de/brew/thriftgo/) - Shares pkgdb curated category or tags: cli, code-generator, developer-tools, go.
- [htmltest](https://pkg.so/de/brew/htmltest/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [counterfeiter](https://pkg.so/de/brew/counterfeiter/) - Shares pkgdb curated category or tags: cli, developer-tools, go, testing.
- [ifacemaker](https://pkg.so/de/brew/ifacemaker/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, developer, developer-tools, generate.

## Combined YAML source

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


## Quellen

- 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
