Getting Started¶
Installation¶
GitHub Release recommended¶
Visit the releases page to download one of the pre-built binaries for your platform.
go install¶
Supported, but not recommended: see wiki page and related discussions.
Warning
Do not use @latest
as this will pull from the latest, potentially untagged, commit on master.
Docker¶
Use the Docker image
Text Only
docker pull vektra/mockery
Generate all the mocks for your project:
Text Only
docker run -v "$PWD":/src -w /src vektra/mockery --all
Homebrew¶
Install through brew
Text Only
brew install mockery
brew upgrade mockery