Home
Softono

Mockery

Open source BSD-3-Clause Go
7.1K
Stars
454
Forks
52
Issues
30
Watchers
3 months
Last Commit

 About Mockery

A mock code autogenerator for Go

Platforms

Web Self-hosted

Languages

Go

Need Help Installing Mockery?

We provide expert installation service for this software. Our team will install, configure, and secure Mockery on your server. plans start at just $30.

mockery

go.dev reference GitHub go.mod Go version GitHub release (latest SemVer) Go Report Card codecov

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

Stargazers over time