A toolkit with common assertions and mocks that plays nicely with the standard library
- testify
- go
- assertions
- mocking
56,139 visible repositories in the index
1–24 of 85 · Most stars
A toolkit with common assertions and mocks that plays nicely with the standard library
HTTP load generator, ApacheBench (ab) replacement
Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.
GoReplay is an open-source tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data. It can be used to increase confidence in code deployments, configuration changes and infrastructure changes.
An email and SMTP testing tool with API for developers
Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
A mock code autogenerator for Go
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
Quick and Easy server testing/validation
Ethr is a Comprehensive Network Measurement Tool for TCP, UDP & ICMP.
Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.
Fortio load testing library, command line tool, advanced echo server and web UI in go (golang). Allows to specify a set query-per-second load and record latency histograms and other useful stats.
Chaos testing, network emulation, and stress testing tool for containers
End-to-end HTTP and REST API testing for Go.
A contract-driven gRPC regression harness for AI coding agents, with human-approved baselines. Snapshot the valid call chains of an API so an agent can look one up instead of tracing for it. gRPC today, OpenAPI next
Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
validate the structure of your container images
:zap: Go web framework benchmark
Database anonymization and test data management
Go HTTP request router and web framework benchmark
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 💻
Record and replay your HTTP interactions for fast, deterministic and accurate tests
Ruby on Rails like test fixtures for Go. Write tests against a real database