A toolkit with common assertions and mocks that plays nicely with the standard library
- testify
- go
- assertions
- mocking
47,133 repositories indexed
1–23 of 23 · Most stars
A toolkit with common assertions and mocks that plays nicely with the standard library
An email and SMTP testing tool with API for developers
A mock code autogenerator for Go
Sql mock driver for golang to test database interactions
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
Interface mocking tool for go generate
HTTP mocking for Golang
Record and replay your HTTP interactions for fast, deterministic and accurate tests
A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.
a fake clock for golang
pgx mock driver for golang to test database interactions
🔭 Powerful tool for testing WebHooks and more
All-in-one go testing library
HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.
High-performance, multi-protocol mock server. HTTP, WebSocket, gRPC, MQTT, SSE, GraphQL, SOAP in one binary.
A test-friendly replacement for golang's time package [managed by soy-programador]
A lightweight Snowflake emulator built with Go and DuckDB for local development and testing
Golang HTTP client testing framework
localaik is a local compatibility server for a subset of the Gemini and OpenAI APIs. Run one container locally, point your SDK to it, and the proxy serves both protocol shapes on the same port for tests and development.
Mocker + Proxy Application
Simple and colorful test tools
Feature-rich filesystem mocking for Go tests: comprehensive error injection, latency simulation, write operations, operation statistics, and standalone file handles. Built on testing/fstest.MapFS with comprehensive fs.FS interface support.