Mock
gomock9.3K

Mocking framework for the Go programming language.

mockery6.3K

Tool to generate Go interfaces.

go-sqlmock6.2K

Mock SQL driver for testing database interactions.

hoverfly2.4K

HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.

gock2.1K

Versatile HTTP mocking made easy.

moq2K

Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.

httpmock2K

Easy mocking of HTTP responses from external resources.

counterfeiter1K

Tool for generating self-contained mock objects.

go-txdb682

Single transaction based database driver mainly for testing purposes.

minimock656

Mock generator for Go interfaces.

xgo377

A general pureposed function mocking library.

govcr179

HTTP mock for Golang: record and replay HTTP interactions for offline testing.

go-localstack80

Tool for using localstack in AWS testing.

timex71

A test-friendly replacement for the native time package.

mockhttp23

Mock object for Go http.ResponseWriter.

mooncake18

A simple way to generate mocks for multiple purposes.