Automic VaultAutomic Vault

brew

mockery を Homebrew, apt, MacPorts, zypper, scoop でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install mockery

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install mockery

MacPorts ports tree · devel/mockery/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install mockery

Debian stable package indexes · mockery · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install mockery

openSUSE Tumbleweed package metadata · mockery · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/mockery

Scoop official bucket manifest trees · bucket/mockery.json · ソース: api.github.com

概要

パッケージ概要

Mock code autogenerator for Golang

コマンドとエイリアス

  • mockery

履歴

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

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

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

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

推奨レビュー

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

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.mockery.yml.mockery.yaml

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版3.7.2
マネージャ更新日2026-07-23
ローカルデータOK
上流最新
検出された最新v3.7.2

https://github.com/vektra/mockery

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

インストールメタデータ

パッケージメタデータ

パッケージキー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
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 Namemockery
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

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

Debian apt95%

mockery 2.15.0-1+b12

mock code autogenerator for Golang

https://github.com/vektra/mockery

sudo apt install mockery
  • Section: devel
  • Architecture: amd64
  • Source Package: mockery
  • 1 依存関係
  • normalized package name match
  • 一致条件: Mockery
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mockery from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

mockery 2.15.0-1build1

mock code autogenerator for Golang

https://github.com/vektra/mockery

sudo apt install mockery
  • Section: universe/devel
  • Architecture: amd64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Mockery
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mockery from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper95%

mockery 2.53.5-1.4

A mock code autogenerator for Go

https://github.com/vektra/mockery

sudo zypper install mockery
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mockery
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Mockery
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mockery from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

mockery

sudo port install mockery
  • normalized package name match
  • 一致条件: Mockery
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/mockery/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/mockery

scoop install main/mockery
  • normalized package name match
  • 一致条件: Mockery
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mockery.json from https://api.github.com/repos/ScoopInstaller/Main/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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment