mockery

command module
v3.0.0-alpha.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

README

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

Documentation

Overview

Package main implements shit

Directories

Path Synopsis
cmd
fixtures/recursive_generation/subpkg_with_only_autogenerated_files
Code generated by an arbitrary code generator thingy.
Code generated by an arbitrary code generator thingy.
Package shared provides variables/objects that need to be shared across multiple packages.
Package shared provides variables/objects that need to be shared across multiple packages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL