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 +72

added 2 months ago

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

buger/goreplay 18K +17

added 2 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.

shopify/toxiproxy 11K +21

added 1 month ago

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

onsi/ginkgo 8K +18

added 2 months ago

A Modern Testing Framework for Go

smartystreets/goconvey 8K +8

added 2 months ago

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

keploy/keploy 8K +562

added 1 month ago

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

gruntwork-io/terratest 7K +8

added 1 month ago

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

axllent/mailpit 6K +58

added 1 month ago

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

ory/dockertest 4K +10

added 1 month ago

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

getgauge/gauge 3K +6

added 1 month ago

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

cucumber/godog 2K +2

added 2 months ago

Godog merges specification and test documentation into one cohesive whole.

sanity-io/litter 1K +2

added 2 months ago

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

pact-foundation/pact-go 891 +4

added 1 month ago

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

coder/quartz 254

added 1 month ago

A Go time testing library for writing deterministic unit tests

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.