The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsJuly 17-18

Join

Top Go Testing Libraries 2025

GitHub Libraries Go Testing Libraries

stretchr/testify 24K +92

added 4 months ago

A toolkit with common assertions and mocks that plays nicely with the standard library

buger/goreplay 18K +25

added 4 months ago

GoReplay is a tool for capturing and replaying live HTTP traffic into a test environment in order to continuously test your system with real data.

mailhog/mailhog 14K +32

added 1 month ago

MailHog is an email testing tool for developers

ffuf/ffuf 14K +61

added 4 weeks ago

Fast web fuzzer written in Go

shopify/toxiproxy 11K +23

added 3 months ago

TCP proxy to simulate network and system conditions for chaos and resiliency testing

keploy/keploy 10K +51

added 3 months ago

Keploy is developer-centric API testing tool that creates tests along with built-in-mocks, faster than unit tests.

onsi/ginkgo 8K +16

added 4 months ago

A Modern Testing Framework for Go

smartystreets/goconvey 8K +2

added 4 months ago

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.

gruntwork-io/terratest 7K +15

added 3 months ago

Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.

axllent/mailpit 7K +55

added 3 months ago

Mailpit is a small, fast, low memory, zero-dependency, multi-platform email testing tool & API for developers.

ory/dockertest 4K +8

added 3 months ago

Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

getgauge/gauge 3K +5

added 3 months ago

Gauge is a free and open source test automation framework that takes the pain out of acceptance testing

cucumber/godog 2K +6

added 4 months ago

Godog merges specification and test documentation into one cohesive whole.

sanity-io/litter 1K

added 4 months ago

Litter is a pretty printer library for Go data structures to aid in debugging and testing.

pact-foundation/pact-go 896 +2

added 3 months ago

Golang version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.