An open API service indexing awesome lists of open source software.

https://github.com/johejo/gomockhelper

gomock helper
https://github.com/johejo/gomockhelper

go golang gomock mock

Last synced: 6 months ago
JSON representation

gomock helper

Awesome Lists containing this project

README

          

# gomockhelper

[![ci](https://github.com/johejo/gomockhelper/workflows/ci/badge.svg?branch=main)](https://github.com/johejo/gomockhelper/actions?query=workflow%3Aci)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/johejo/gomockhelper)](https://pkg.go.dev/github.com/johejo/gomockhelper)
[![codecov](https://codecov.io/gh/johejo/gomockhelper/branch/main/graph/badge.svg)](https://codecov.io/gh/johejo/gomockhelper)
[![Go Report Card](https://goreportcard.com/badge/github.com/johejo/gomockhelper)](https://goreportcard.com/report/github.com/johejo/gomockhelper)

helpers for [gomock](https://github.com/golang/mock)

## Example

Expect all methods of the target mock with gomock. [test code](https://github.com/johejo/gomockhelper/blob/main/gomockhelper_test.go)

## License

MIT

## Author

Mitsuo Heijo (@johejo)