mockeryby vektra
Tool to generate Go interfaces.
github.com/vektra/mockery/v3Go 1.26+ 20 dependenciesv3.9.0updated today

tv42/mockhttp
Mock object for Go http.ResponseWriter.
mockeryby vektra
Tool to generate Go interfaces.
github.com/vektra/mockery/v3Go 1.26+ 20 dependenciesv3.9.0updated today
go-sqlmockby DATA-DOG
Mock SQL driver for testing database interactions.
github.com/DATA-DOG/go-sqlmockGo 1.15+ 1 dependencyv1.5.2updated 3mo ago
gomockby uber-go
Mocking framework for the Go programming language.
go.uber.org/mockGo 1.25+ 3 dependenciesv0.6.0updated 2mo ago
hoverflyby SpectoLabs
HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
github.com/SpectoLabs/hoverflyGo 1.27+ 41 dependenciesv1.12.17updated 1d ago
moqby matryer
Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
github.com/matryer/moqGo 1.26+ 2 dependenciesv0.8.1updated 19d ago
httpmockby jarcoal
Easy mocking of HTTP responses from external resources.
github.com/jarcoal/httpmockGo 1.18+ 1 dependencyv1.4.2updated 27d ago
counterfeiterby maxbrunsfeld
Tool for generating self-contained mock objects.
github.com/maxbrunsfeld/counterfeiter/v6Go 1.26+ 5 dependenciesv6.14.0updated 19d ago
minimockby gojuno
Mock generator for Go interfaces.
github.com/gojuno/minimock/v3Go 1.23+ 9 dependenciesv3.4.7updated 13d ago