Mock
19 libraries in Testing / Mock
Mock SQL driver for testing database interactions
HTTP mock for Golang: record and replay HTTP interactions for offline testing
HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI
Easy mocking of HTTP responses from external resources
Mock generator for Go interfaces
Tool to generate Go interfaces
Combine multiple APIs with meaningful responses, configurable latency and error codes based on OpenAPI 3.0 specifications and files
Tool for generating self-contained mock objects
Tool for using localstack in AWS testing
Single transaction based database driver mainly for testing purposes
Versatile HTTP mocking made easy
Mocking framework for the Go programming language
Mock filesystem for Go testing with error injection and latency simulation, built on `testing/fstest.MapFS`
Mock object for Go http.ResponseWriter
A simple way to generate mocks for multiple purposes
Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface
A mock library implementing [pgx - PostgreSQL Driver and Toolkit](https://github.com/jackc/pgx/)
A test-friendly replacement for the native `time` package
A general pureposed function mocking library