macOS
brew install mockerylocal Homebrew formula metadata
sudo port install mockeryMacPorts ports tree · devel/mockery/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de mockery pour les workflows d'agents IA.
installation
brew install mockerylocal Homebrew formula metadata
sudo port install mockeryMacPorts ports tree · devel/mockery/Portfile · Source: api.github.com
sudo apt install mockeryDebian stable package indexes · mockery · Source: deb.debian.org
sudo zypper install mockeryopenSUSE Tumbleweed package metadata · mockery · Source: download.opensuse.org
scoop install main/mockeryScoop official bucket manifest trees · bucket/mockery.json · Source: api.github.com
aperçu
Mock code autogenerator for Golang
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.yamlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
mockery | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/vektra/mockery
métadonnées d'installation
| Clé du paquet | brew:mockery |
|---|---|
| Version | 3.7.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/mockery |
| Page d'accueil | https://vektra.github.io/mockery/ |
| Dépôt | https://github.com/vektra/mockery |
| Docs amont | https://github.com/vektra/mockery#readme |
| Licence | BSD-3-Clause |
| Archive source | https://github.com/vektra/mockery/archive/refs/tags/v3.7.2.tar.gz |
| Dernière mise à jour | 2026-07-23T21:07:55Z |
| Pulse | updated |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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/mockerypiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.