Testing

Libraries for testing codebases and generating test data.

Newest releases
185

MarvinJWendt Full-featured test framework for Go! Assertions, mocking, input testing, output capturing, and much more! 🍕
 
2.3k

six-ddc Plow is a HTTP(S) benchmarking tool, written in Golang. It uses excellent fasthttp instead of Go's default net/http due to its lightning fast performance.
 
97

utkusen reqstress is a benchmarking&stressing tool that can send raw HTTP requests. It's written in Go and uses fasthttp library instead of Go's default http library, because of its lightning-fast performance.
 
16

Ananto30 Create your own blazing fast mock server with just a JSON file!
 
1k

matryer Moq is a tool that generates a struct from any interface. The struct can be used in test code as a mock of the interface.
 
1.1k

matryer Professional lightweight testing mini-framework for Go.
 
1.4k

link1st go 实现的压测工具,ab、locust、Jmeter压测工具介绍【单台机器100w连接压测实战】
 
234

lducas SchnorrGate Testing Schnorr's factoring Claim in SageMath [Sage] [Sch21] Fast Factoring Integers by SVP Algorithms Claus Peter Schnorr https://eprint.
 
1.1k

jarcoal Easy mocking of http responses from external resources.
 
22

caarlos0 A simple fs.FS which is contained in a test (using testing.TB's TempDir()) and with a few helper methods.
 
25

slyd0g Interact with Chromium-based browsers' debug port to view open tabs, installed extensions, and cookies
 
396

qiniu goc is a comprehensive coverage testing system for The Go Programming Language, especially for some complex scenarios, like system testing code coverage collection and accurate testing.
 
17

cch123 Patch all Go functions for testing
 
742

upmasked Number Verifier is a SMS verification tool that makes it easy to get a disposable SMS number and bypass SMS number verifications on any site.
 
2k

fortio 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.
 
184

cockroachdb Mocking your SQL database in Go tests has never been easier. The copyist library automatically records low-level SQL calls made during your tests. It then generates test code that can play back those calls without connecting to th
 
34

Trendyol Gaos, can create and provide custom mock restful services via using your fully-customizable scenarios and runs them on Docker & Kubernetes & localhost flawlessly.
 
1.7k

go-rod Rod is a High-level Devtools driver directly based on DevTools Protocol. It's designed for web automation and scraping. Rod also tries to expose low-level interfaces to users, so that whenever a function is missing users can easil
 
16

suzuki-shunsuke flute - Golang HTTP client testing framework
 
131

jcchavezs httpmole httpmole provides a HTTP mock server that will act as a mole among your services, telling you everything http clients send to it and responding them whatever you want it to respond. Just like an actual mole.
 
340

knqyf263 Abstract cob compares benchmarks between the latest commit (HEAD) and the previous commit (HEAD{@1}). The program will fail if the change in score is worse than the threshold. This tools is suitable for CI/CD to
 
73

smallinsky Microservice Test Framework Introduction This Microservice Test Framework (MTF) allows in simple way to mock service dependencies and setup docker test environment comprehensive. Supported dependencies:
 
1.2k

jaeles-project Jaeles is a powerful, flexible and easily extensible framework written in Go for building your own Web Application Scanner. Installation Download precompiled version here. If you have a Go environment, ma
 
238

teknogeek SSRF Sheriff This is an SSRF testing sheriff written in Go. It was originally created for the Uber H1-4420 2019 London Live Hacking Event, but it is now being open-sourced for other organizations to implement and contri
 
427

globocom Introduction huskyCI is an open source tool that orchestrates security tests and centralizes all results into a database for further analysis and metrics. It can perform static security analysis in Python (Ba
 
100

axcdnt Snitch Snitch is a binary that helps your TDD cycle (or not) by watching tests and implementations of Go files. It works by scanning files, checking the modification date on save re-running your tests. It's usual in Go
 
1.7k

alicebob Miniredis Pure Go Redis test server, used in Go unittests. Sometimes you want to test code which uses Redis, without making it a full-blown integration test. Miniredis implements (parts of) the Redis server, to be us
 
1.1k

kuberhealthy Easy synthetic testing for Kubernetes clusters. Supplements other solutions like Prometheus nicely. Installation To install with the Helm chart without Prometheus: helm install stable/kuberhealthy To i
 
Popular
4.5k

google ClusterFuzz ClusterFuzz is a scalable fuzzing infrastructure that finds security and stability issues in software. Google uses ClusterFuzz to fuzz the Chrome Browser and as the fuzzing backend for OSS-Fuzz. Cluste
 
3.3k

cweill gotests gotests makes writing Go tests easy. It's a Golang commandline tool that generates table driven tests based on its target source files' function and method signatures. Any new dependencies in the test file
 
19

vdemeester Ram 🐏 — a golang opiniated continuous testing tool This is a very opiniated « continuous testing » tool for =Go=. In a nutshell it does : watch a folder (gopath or not…) and execute tests when file changes. It
 
222

caalberts Localroast Overview Localroast quickly stubs a HTTP server. It takes a JSON file with a list of paths and stub responses. Changes are autoloaded. Use it to develop and test an API client. I
 
Popular
5.2k

gatling Gatling What is Gatling ? Gatling is a stress tool. Development is currently focusing on HTTP support. Motivation Finding fancy GUIs not that convenient for describing stress te