Automic VaultAutomic Vault

brew

gotests を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install gotests

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#gotests

nixpkgs package indexes · pkgs/by-name/go/gotests/package.nix · ソース: api.github.com

概要

パッケージ概要

Automatically generate Go test boilerplate from your source code

コマンドとエイリアス

  • gotests

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
gotestscliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.9.0
マネージャ更新日2026-06-13
ローカルデータOK
上流最新
検出された最新v1.9.0

https://github.com/cweill/gotests

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:gotests
バージョン1.9.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/gotests
ホームページhttps://github.com/cweill/gotests
リポジトリhttps://github.com/cweill/gotests
上流ドキュメントhttps://github.com/cweill/gotests#readme
ライセンスApache-2.0
ソースアーカイブhttps://github.com/cweill/gotests/archive/refs/tags/v1.9.0.tar.gz
最終更新2026-06-13T23:34:57+02:00
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegotests
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

gotests

nix profile install nixpkgs#gotests
  • normalized package name match
  • 一致条件: Gotests
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/gotests/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment