macOS
brew install mockerylocal Homebrew formula metadata
sudo port install mockeryMacPorts ports tree · devel/mockery/Portfile · ソース: api.github.com
brew
mockery のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install mockerylocal Homebrew formula metadata
sudo port install mockeryMacPorts ports tree · devel/mockery/Portfile · ソース: api.github.com
sudo apt install mockeryDebian stable package indexes · mockery · ソース: deb.debian.org
sudo zypper install mockeryopenSUSE Tumbleweed package metadata · mockery · ソース: download.opensuse.org
scoop install main/mockeryScoop official bucket manifest trees · bucket/mockery.json · ソース: api.github.com
概要
Mock code autogenerator for Golang
履歴
mockery is a Go code generator from the vektra GitHub organization for creating mock implementations of Go interfaces. Its repository was created in 2014 and the README frames the original use case around generating mocks that work with `stretchr/testify/mock`, removing repetitive hand-written mock code in Go tests.
The project documentation broadens that role into a small code-generation framework: mockery inspects Go source, emits implementations for interfaces, supports multiple mock styles, and lets users provide custom templates rendered with typed interface metadata. Configuration via `.mockery.yaml` lets projects select packages and interfaces, which makes it suitable for repeatable generation in CI or local test workflows.
Within package managers, mockery fills the Go-testing generator niche alongside tools such as mockgen and moq. Homebrew packages it as `mockery`, and package records also list Debian, Ubuntu, MacPorts, Scoop, and zypper, matching its role as a developer CLI installed outside an individual Go module when teams want consistent generated mocks across repositories.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.mockery.yml.mockery.yaml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
mockery | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/vektra/mockery
インストールメタデータ
| パッケージキー | brew:mockery |
|---|---|
| バージョン | 3.7.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/mockery |
| ホームページ | https://vektra.github.io/mockery/ |
| リポジトリ | https://github.com/vektra/mockery |
| 上流ドキュメント | https://github.com/vektra/mockery#readme |
| ライセンス | BSD-3-Clause |
| ソースアーカイブ | https://github.com/vektra/mockery/archive/refs/tags/v3.7.2.tar.gz |
| 最終更新 | 2026-07-23T21:07:55Z |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mockery |
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
mockery 2.15.0-1+b12
mock code autogenerator for Golang
https://github.com/vektra/mockery
sudo apt install mockerymockery 2.15.0-1build1
mock code autogenerator for Golang
https://github.com/vektra/mockery
sudo apt install mockerymockery 2.53.5-1.4
A mock code autogenerator for Go
https://github.com/vektra/mockery
sudo zypper install mockerymockery
sudo port install mockerymain/mockery
scoop install main/mockeryソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.