mockery-generate - Generate Golang Interface Mocks with Mockery
Uses mockery with go:generate to automatically generate mocks for Golang interfaces, eliminating manual mock creation
Tags
Updated: 2026-02-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- scan interface definitions
- add go:generate comments
- validate mockery configuration
- generate mock files
- import mocks in tests
Inputs
- Golang source code
- interface definitions
- package structure
- test files
Outputs
- go:generate annotations
- mockery configuration
- mock file generation
- test code updates
Requirements
- Golang development environment
- mockery tool installed
- go:generate support
- repository write permissions
