10

8

6

4

2


9.8

8.6

9.6

4.9

9.5

2.5

9.4

5.4

9.4

8.8

9.1

8.6

100 Testing packages and projects

  • Testify

    9.8 8.6 Go
    A toolkit with common assertions and mocks that plays nicely with the standard library
  • chromedp

    9.6 4.9 Go
    A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.
  • The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
    Promo workos.com
    WorkOS Logo
  • gomock

    9.5 2.5 Go
    DISCONTINUED. GoMock is a mocking framework for the Go programming language.
  • GoConvey

    9.4 5.4 Go
    Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
  • ginkgo

    9.4 8.8 Go
    A Modern Testing Framework for Go
  • mockery

    9.1 8.6 Go
    A mock code autogenerator for Go
  • go-sqlmock

    9.1 5.4 Go
    Sql mock driver for golang to test database interactions
  • go-fuzz

    9.0 5.2 Go
    Randomized testing for Go
  • rod

    9.0 7.9 Go
    A Devtools driver for web automation and scraping
  • gotests

    9.0 0.0 Go
    Automatically generate Go test boilerplate from your source code.
  • realize

    8.9 0.0 Go
    Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
  • dockertest

    8.7 3.0 Go
    Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
  • go-cmp

    8.7 3.7 Go
    Package for comparing Go values in tests
  • Gauge

    8.6 8.9 Go
    Light weight cross-platform test automation
  • Testcontainers-go

    8.6 9.7 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.
  • selenoid

    8.5 6.7 Go
    Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
  • Looking for Maintainer

    8.5 0.0 Go
    Selenium/Webdriver client for Go
  • httpexpect

    8.4 7.5 Go
    End-to-end HTTP and REST API testing for Go.
  • godog

    8.3 6.8 Go
    Cucumber for golang
  • gomega

    8.3 8.1 Go
    Ginkgo's Preferred Matcher Library
  • hoverfly

    8.3 8.8 Go
    Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
  • gock

    8.0 3.4 Go
    HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
  • playwright-go

    8.0 7.5 Go
    Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
  • httpmock

    7.9 4.7 Go
    HTTP mocking for Golang
  • is

    7.8 2.7 Go
    Professional lightweight testing mini-framework for Go.
  • gofuzz

    7.8 0.0 Go
    DISCONTINUED. Fuzz testing for go.
  • gnomock

    7.5 3.4 Go
    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 💻
  • failpoint

    7.4 3.7 Go
    An implementation of failpoints for Golang.
  • go-vcr

    7.4 5.0 Go
    Record and replay your HTTP interactions for fast, deterministic and accurate tests
  • testfixtures

    7.3 6.3 Go
    Ruby on Rails like test fixtures for Go. Write tests against a real database
  • GoAws

    7.2 5.8 Go
    AWS (SQS/SNS) Clone for Development testing
  • goblin

    7.2 0.0 Go
    Minimal and Beautiful Go testing framework
  • counterfeiter

    7.2 7.6 Go
    A tool for generating self-contained, type-safe test doubles in go
  • gocheck

    7.2 0.0 Go
    Rich testing for the Go language
  • goc

    7.1 3.7 Go
    A Comprehensive Coverage Testing System for The Go Programming Language
  • embedded-postgres

    7.0 5.2 Go
    Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
  • baloo

    6.9 0.0 Go
    Expressive end-to-end HTTP API testing made easy in Go
  • cdp

    6.9 1.3 Go
    Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.
  • Mmock

    6.9 5.3 Go
    Mmock is an HTTP mocking application for testing and fast prototyping
  • go-mutesting

    6.7 0.0 Go
    Mutation testing for Go source code
  • Fake

    6.7 0.0 Go
    Fake data generator for Go (Golang)
  • go-txdb

    6.7 6.7 Go
    Immutable transaction isolated sql driver for golang
  • minimock

    6.6 7.0 Go
    Powerful mock generation tool for Go programming language
  • gotest.tools

    6.5 5.0 Go
    A collection of packages to augment the go testing package and support common patterns.
  • gofight

    6.3 3.8 Go
    Testing API Handler written in Golang.
  • ggr

    6.2 6.1 Go
    A lightweight load balancer used to create big Selenium clusters
  • testza

    6.1 0.0 Go
    Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
  • go-testdeep

    6.1 7.4 Go
    Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
  • endly

    5.7 5.5 Go
    End to end functional test and automation framework
  • frisby

    5.6 0.0 Go
    API testing framework inspired by frisby-js
  • cupaloy

    5.6 0.0 Go
    Simple Go snapshot testing
  • charlatan

    5.6 1.1 Go
    Go Interface Mocking Tool
  • timex

    5.5 1.8 Go
    A test-friendly replacement for golang's time package [managed by soy-programador]
  • Tavor

    5.4 0.0 Go
    A generic fuzzing and delta-debugging framework
  • go-carpet

    5.3 3.7 Go
    Tool for show test coverage in terminal for Go source files
  • go-hit

    5.2 6.2 Go
    http integration test framework
  • govcr

    4.8 3.7 Go
    HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
  • dbcleaner

    4.7 1.8 Go
    Clean database for testing, inspired by database_cleaner for Ruby
  • GoSpec

    4.5 0.0 Go
    Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED]
  • jsonassert

    4.4 1.3 Go
    A Go test assertion library for verifying that two representations of JSON are semantically equal
  • smtpmock

    4.4 6.7 Go
    SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.
  • wstest

    4.3 0.0 Go
    go websocket client for unit testing of a websocket handler
  • testcase

    4.3 6.6 Go
    testcase is an opinionated testing framework to support test driven design.
  • go-localstack

    3.9 8.6 Go
    Go Wrapper for using localstack
  • gocrest

    3.9 4.3 Go
    GoCrest - Hamcrest-like matchers for Go
  • assert

    3.8 0.0 Go
    :exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions
  • be

    3.5 6.5 Go
    The Go test helper for minimalists
  • covergates

    3.5 0.0 Go
    The portal gates to coverage reports
  • dsunit

    3.4 3.6 Go
    Datastore Testibility
  • restit

    3.2 5.3 Go
    A Go library help testing your RESTful API application
  • gospecify

    3.2 0.0 Go
    A BDD library for Go
  • Gont

    3.2 8.8 Go
    A Go testing framework for distributed applications
  • gherkingen

    3.0 7.0 Go
    Behaviour Driven Development tests generator for Golang
  • gomatch

    2.7 0.0 Go
    Library created for testing JSON against patterns.
  • testcerts

    2.7 5.9 Go
    Dynamically generate self-signed certificates and certificate authorities for Go tests
  • Hamcrest

    2.3 0.0 Go
    Hamcrest matchers for the Go programming language
  • bro

    2.2 0.0 Go
    bro watch files in directory and run tests for them
  • fluentassert

    2.1 7.0 Go
    Extensible, type-safe, fluent assertion Go library.
  • mockhttp

    2.0 0.0 Go
    Mock object for Go http.ResponseWriter
  • Probe

    2.0 2.0 Go
    Simplified End-to-End Testing Using YAML and JQ.
  • fixenv

    1.9 6.6 Go
    Fixture manage engine, inspired by pytest fixtures.
  • gogiven

    1.8 3.4 Go
    gogiven - BDD testing framework for go that generates readable output directly from source code
  • MockItOut

    1.7 0.0 Go
    A language agnostic HTTP mock server for quick stub testing
  • mockit

    1.5 4.1 Go
    DISCONTINUED. Library that make mocking of Go functions/methods easy
  • schema

    1.5 0.0 Go
    Quick and easy expression matching for JSON schemas used in requests and responses
  • Example of testing Go code with Postgres

    1.5 7.8 Go
    The example suggests a solution to the problem of cleaning the database after running tests and the problem of running tests in parallel. It also shows how to organize integration testing of Go code with Postgres.
  • testsql

    1.5 0.0 Go
    Generate test data from SQL files before testing and clear it after finished.
  • gosuite

    1.4 0.0 Go
    Test suites support for standard Go1.7 "testing" by leveraging Subtests feature
  • mooncake

    1.3 10.0 Go
    :moon_cake: A simple way to generate mocks for multiple purposes
  • stop-and-go

    1.3 5.1 Go
    Testing helper for concurrency
  • flute

    1.3 0.0 Go
    Golang HTTP client testing framework
  • biff

    1.3 0.0 Go
    Bifurcation Framework for testing and use cases
  • prettybenchcmp

    1.3 0.0 Go
    cmd tool for automatic storage and comparison of benchmarks results
  • badio

    1.0 0.0 Go
    Extensions to Go's testing/iotest package
  • testmd

    0.9 0.0 Go
    test utilities for golang
  • Tt

    0.8 3.8 Go
    Simple and colorful test tools
  • diff

    0.8 10.0 Go
    DISCONTINUED. diff contains git-style diff generation helpers, particularly useful for tests.
  • go-testpredicate

    0.6 0.0 Go
    Unit-testing predicates for Go.
  • trial

    0.6 0.0 Go
    A simple assertion library for go
  • go-mysql-test-container

    0.5 0.0 Go
    Golang MySQL testcontainer package

Add another 'Testing' Package