Testing
91 libraries in this category
Tool that reports coverage of files below set threshold
Expressive and versatile end-to-end HTTP API testing made easy
The minimalist generic test assertion library
Tool for testing cli applications on windows, linux and osx
Declarative end to end functional testing
HTTP client testing framework
Package for comparing Go values in tests
Hit is an http integration test framework written in golang
Record and replay your HTTP interactions for fast, deterministic and accurate tests
Composable hamcrest-like matchers for Go assertions
YATSPEC-like BDD testing framework for Go
Idiomatic testing framework for Behavior Driven Development
A helper for Rails' like test fixtures to test database applications
Quick and easy extendable assertions without introducing much boilerplate
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
Architecture testing tool for Go projects
Basic Assertion Library used along side native go testing, with building blocks for custom assertions
Bifurcation testing framework, BDD compatible
Tool to generate fake interface implementations for tests
Simple snapshot testing addon for your test framework
Clean database for testing purpose, inspired by `database_cleaner` in Ruby
Lightweight, zero dependency docker containers for testing (or more)
Datastore testing for SQL, NoSQL, structured files
Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
Dev and testing environment management framework
Fixture manage engine, inspired by pytest fixtures
REST API testing framework
BDD boilerplate generator and framework
integration testing with real dependencies (database, cache, even Kubernetes or AWS) running in Docker, without mocks
Tool for viewing test coverage in terminal
HTTP testing and debugging tool with various endpoints for client testing
Mutation testing for Go source code
Golang MySQL testcontainer to help with MySQL integration testing
Jest-like snapshot testing in Golang
Extremely flexible golang deep comparison, extends the go testing package
Test predicate style assertions library with extensive diagnostics output
Mocha like testing framework of Go
Goc is a comprehensive coverage testing system for The Go Programming Language
BDD-style framework with web UI and live reload
Cucumber BDD framework for Go
API Handler Testing for Golang Router framework
library created for testing JSON against patterns
Go network testing toolkit for testing building complex network topologies using Linux namespaces
This provides a BDD syntax for testing your Go code. It should be familiar to anybody who has used libraries such as rspec
Brings lightweight test suites with setup/teardown facilities to `testing` by leveraging Go1.7's Subtests
An enjoyable golang test framework
A collection of packages to augment the go testing package and support common patterns
fluent framework for declarative Matcher objects that, when applied to input values, produce self-describing results
Concise, declarative, and easy to use end-to-end HTTP and REST API testing
Professional lightweight testing mini-framework for Go
Package for verifying that your JSON payloads are serialized correctly
Generate Testcase and Data Mocks from API calls automatically
The simple library for change a values of private fields for testing
Go micro framework to help writing RESTful API integration test
Quick and easy expression matching for JSON schemas used in requests and responses
Testing library with zero dependencies, detailed struct diffs and human-readable error messages
Testing helper for concurrency
Dynamically generate self-signed certificates and certificate authorities within your test functions
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
Sacred extension to the standard go testing package
Generate test data from SQL files before testing and clear it after finished
Full-featured test framework with nice colorized output
CLI tool for summarizing go test output. Pipe friendly. Compatible with go test flags
Simple and colorful test tools
Websocket client for unit-testing a websocket http.Handler
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
Randomized testing system
Generic fuzzing and delta-debugging framework
Fast, stealth-first browser automation library using Chrome DevTools Protocol over WebSocket with no external dependencies
Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it
a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol
browser automation library to control Chromium, Firefox and WebKit with a single API
A Devtools driver to make web automation and scraping easy
An implementation of [failpoints](https://www.freebsd.org/cgi/man.cgi?query=fail) for Golang