mockery
Tool to generate Go interfaces
About mockery
mockery
mockery provides the ability to easily generate mocks for Golang interfaces using the stretchr/testify/mock package. It removes the boilerplate coding required to use mocks.
Documentation
Documentation is found at our GitHub Pages site.
Development
taskfile.dev is used for build tasks. Initialize all go build tools:
go mod download -x
You can run any of the steps listed in Taskfile.yml:
$ task test
task: [test] go test -v -coverprofile=coverage.txt ./...
Stargazers
Frequently Asked Questions
What is mockery?
mockery is a Testing library for the Go programming language. Tool to generate Go interfaces
How do I install mockery?
Install mockery with the Go module system using `go get vektra/mockery`. Check the repository for the current installation instructions.
What category does mockery belong to?
mockery is listed under Testing, specifically Mock.