Go

Testing Frameworks (65)

  • Overall Score
  • Popularity
  • Trending
  • Activity
  • Maturity
785Top 5%
P A M T

keploy keploy

API, Integration, E2E Testing Agent for Developers that actually work. Generate tests, mocks/stubs for your APIs!
GoApache-2.0Release machine • 377 releases • 3.8 years
693Top 5%
P A M T

testcontainers testcontainers-go

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.
GoMITDeep bench • 280 contributors • 7 years
636Top 10%
P A M T

stretchr testify

A toolkit with common assertions and mocks that plays nicely with the standard library
GoMITStar magnet • 25.3k stars
402Top 50%
P A M T

cucumber godog

Cucumber for golang
GoMITStar magnet • 2.5k stars
371
P A M T

smartystreets goconvey

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
GoStar magnet • 8.4k stars
367
P A M T

suzuki-shunsuke flute

Golang HTTP client testing framework
GoMITSteady cadence • 52/52w active • 8 per week
358
P A M T

go-testfixtures testfixtures

Ruby on Rails like test fixtures for Go. Write tests against a real database
GoMITStar magnet • 1.2k stars
353
P A M T

gavv httpexpect

End-to-end HTTP and REST API testing for Go.
GoMITStar magnet • 2.7k stars
349
P A M T

vladopajic go-test-coverage

go-test-coverage is a tool designed to report issues when test coverage falls below a specified threshold
GoGPL-3.037/52w active • 3 per week
347
P A M T

orlangure gnomock

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
GoMITStar magnet • 1.5k stars
334
P A M T

dvyukov go-fuzz

Randomized testing for Go
GoApache-2.0Star magnet • 4.8k stars
331
P A M T

viant endly

End to end functional test and automation framework
GoApache-2.072 releases • 8 years
322
P A M T

cunicu gont

A Go testing framework for distributed applications
Go44/52w active • 3 per week
313
P A M T

dnaeon go-vcr

Record and replay your HTTP interactions for fast, deterministic and accurate tests
GoBSD-2-ClauseStar magnet • 1.3k stars
311
P A M T

google go-cmp

Package for comparing Go values in tests
GoBSD-3-ClauseStar magnet • 4.5k stars
297
P A M T

mccutchen go-httpbin

A reasonably complete and well-tested golang port of httpbin, with zero dependencies outside the go stdlib.
GoMITStar magnet • 743 stars
284
P A M T

maxatome go-testdeep

Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
GoBSD-2-Clause453 stars
282
P A M T

fergusstrange embedded-postgres

Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
GoMITStar magnet • 1.1k stars
278
P A M T

adamluzsi testcase

testcase is an opinionated testing framework to support test driven design.
GoApache-2.0125 stars
276
P A M T

appleboy gofight

Testing API Handler written in Golang.
GoMIT445 stars
271
P A M T

arch-go arch-go

Architecture checks for Go projects
GoMITFresh buzz • 13 commits over 4 weeks
268
P A M T

qiniu goc

A Comprehensive Coverage Testing System for The Go Programming Language
GoApache-2.0Star magnet • 872 stars
262
P A M T

matryer is

Professional lightweight testing mini-framework for Go.
GoMITStar magnet • 1.9k stars
260
P A M T

ysmood got

An enjoyable golang test framework.
GoMIT270 stars