discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
vektra/mockery · source
Snapshot 0 · 2026-11-04T12:47:23Z · Go · BSD-3-Clause
Content fingerprint
68d43dda1a4d24a41f7739a926d6064d51d39becbecafd01d9029a4f214b286cGitHub description at capture
A mock code autogenerator for Go
README at capture
mockery ======= [](https://pkg.go.dev/github.com/vektra/mockery/v3/template)   [](https://goreportcard.com/report/github.com/vektra/mockery/v3) [](https://codecov.io/gh/vektra/mockery) mockery provides the ability to easily generate mocks for Golang interfaces using the [stretchr/testify/mock](https://pkg.go.dev/github.com/stretchr/testify/mock?tab=doc) package. It removes the boilerplate coding required to use mocks. Documentation -------------- Documentation is found at our [GitHub Pages site](https://vektra.github.io/mockery/). 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 ---------- [](https://starchart.cc/vektra/mockery)