A toolkit with common assertions and mocks that plays nicely with the standard library
- testify
- go
- assertions
- mocking
47,133 repositories indexed
1–24 of 24 · Most stars
A toolkit with common assertions and mocks that plays nicely with the standard library
Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.
A mock code autogenerator for Go
Sql mock driver for golang to test database interactions
GoMock is a mocking framework for the Go programming language.
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
Interface mocking tool for go generate
HTTP mocking for Golang
Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻
Powerful mock generation tool for Go programming language
pgx mock driver for golang to test database interactions
Fake server, Consumer Driven Contracts and help with testing performance from one configuration file with zero system dependencies and no coding whatsoever
All-in-one go testing library
Go Interface Mocking Tool
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.
Typed test data factories for Go. Compile-time checked field references, faker-backed defaults, and factories derived from factories.
The most flexible component-oriented framework for GoLang applications
Golang HTTP client testing framework
Mock object for Go http.ResponseWriter
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.
Automatically generate Go code for mocking interfaces in unit tests
A simple framework for writing effective unit, component, and integration tests.