Mock - Awesome Go
- counterfeiter - Tool for generating self-contained mock objects.
- genmock - Go mocking system with code generator for building calls of the interface methods.
- go-localstack - Tool for using localstack in AWS testing.
- go-sqlmock - Mock SQL driver for testing database interactions.
- go-txdb - Single transaction based database driver mainly for testing purposes.
- gock - Versatile HTTP mocking made easy.
- gomock - Mocking framework for the Go programming language.
- govcr - HTTP mock for Golang: record and replay HTTP interactions for offline testing.
- hoverfly - HTTP(S) proxy for recording and simulating REST/SOAP APIs with extensible middleware and easy-to-use CLI.
- httpmock - Easy mocking of HTTP responses from external resources.
- minimock - Mock generator for Go interfaces.
- mockery - Tool to generate Go interfaces.
- mockhttp - Mock object for Go http.ResponseWriter.
- mooncake - A simple way to generate mocks for multiple purposes.
- moq - Utility that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
- timex - A test-friendly replacement for the native time package.
- xgo - A general pureposed function mocking library.
- go-fuzz - Randomized testing system.
- gofuzz - Library for populating go objects with random values.
- Tavor - Generic fuzzing and delta-debugging framework.
- cdp - Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it.
- chromedp - a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol.
- ggr - a lightweight server that routes and proxies Selenium WebDriver requests to multiple Selenium hubs.
- playwright-go - browser automation library to control Chromium, Firefox and WebKit with a single API.
- rod - A Devtools driver to make web automation and scraping easy.
- selenoid - alternative Selenium hub server that launches browsers within containers.
- failpoint - An implementation of failpoints for Golang.