10

8

6

4

2


9.8

8.2

9.6

5.6

9.5

2.5

9.4

8.6

9.4

4.1

9.2

4.9

100 Testing packages and projects

  • Testify

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

    9.6 5.6 Go
    A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.
  • Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
    Promo coderabbit.ai
    CodeRabbit Logo
  • gomock

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

    9.4 8.6 Go
    A Modern Testing Framework for Go
  • GoConvey

    9.4 4.1 Go
    Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
  • go-sqlmock

    9.2 4.9 Go
    Sql mock driver for golang to test database interactions
  • mockery

    9.2 8.8 Go
    A mock code autogenerator for Go
  • rod

    9.0 7.7 Go
    A Chrome DevTools Protocol driver for web automation and scraping.
  • gotests

    9.0 0.0 Go
    Automatically generate Go test boilerplate from your source code.
  • go-fuzz

    8.9 3.7 Go
    Randomized testing for Go
  • realize

    8.8 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.
  • Testcontainers-go

    8.8 9.5 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.
  • go-cmp

    8.8 3.8 Go
    Package for comparing Go values in tests
  • dockertest

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

    8.6 9.1 Go
    Light weight cross-platform test automation
  • Looking for Maintainer

    8.5 0.0 Go
    Selenium/Webdriver client for Go
  • selenoid

    8.5 6.5 Go
    DISCONTINUED. Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
  • httpexpect

    8.4 3.4 Go
    End-to-end HTTP and REST API testing for Go.
  • hoverfly

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

    8.3 6.9 Go
    Cucumber for golang
  • playwright-go

    8.2 7.1 Go
    Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
  • gomega

    8.2 8.2 Go
    Ginkgo's Preferred Matcher Library
  • gock

    8.0 3.5 Go
    HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
  • httpmock

    7.9 5.6 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 5.6 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 💻
  • go-vcr

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

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

    7.3 7.8 Go
    A tool for generating self-contained, type-safe test doubles in go
  • failpoint

    7.3 4.6 Go
    An implementation of failpoints for Golang.
  • goc

    7.2 2.7 Go
    A Comprehensive Coverage Testing System for The Go Programming Language
  • GoAws

    7.2 7.7 Go
    AWS (SQS/SNS) Clone for Development testing
  • gocheck

    7.1 0.0 Go
    Rich testing for the Go language
  • embedded-postgres

    7.1 5.9 Go
    Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
  • goblin

    7.1 0.0 Go
    Minimal and Beautiful Go testing framework
  • Mmock

    6.8 6.3 Go
    Mmock is an HTTP mocking application for testing and fast prototyping
  • baloo

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

    6.8 5.2 Go
    Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.
  • go-mutesting

    6.7 0.0 Go
    Mutation testing for Go source code
  • go-txdb

    6.7 6.3 Go
    Immutable transaction isolated sql driver for golang
  • Fake

    6.6 2.6 Go
    Fake data generator for Go (Golang)
  • minimock

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

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

    6.2 8.2 Go
    Testing API Handler written in Golang.
  • ggr

    6.2 6.1 Go
    DISCONTINUED. A lightweight load balancer used to create big Selenium clusters
  • go-testdeep

    6.0 4.3 Go
    Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
  • testza

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

    5.6 1.1 Go
    Go Interface Mocking Tool
  • cupaloy

    5.6 0.0 Go
    Simple Go snapshot testing
  • endly

    5.6 8.3 Go
    End to end functional test and automation framework
  • frisby

    5.5 0.0 Go
    API testing framework inspired by frisby-js
  • timex

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

    5.3 0.0 Go
    A generic fuzzing and delta-debugging framework
  • go-hit

    5.2 5.1 Go
    http integration test framework
  • go-carpet

    5.2 3.0 Go
    Tool for show test coverage in terminal for Go source files
  • govcr

    4.9 3.5 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
  • godump

    4.7 9.2 Go
    Dump any GO variable with ease
  • smtpmock

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

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

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

    4.3 8.0 Go
    testcase is an opinionated testing framework to support test driven design.
  • wstest

    4.2 0.0 Go
    go websocket client for unit testing of a websocket handler
  • go-localstack

    4.0 8.1 Go
    Go Wrapper for using localstack
  • gocrest

    3.9 2.3 Go
    GoCrest - Hamcrest-like matchers for Go
  • be

    3.7 0.0 Go
    The Go test helper for minimalists
  • assert

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

    3.4 8.9 Go
    Easily start a fake gRPC/gRPC-Web/Connect/REST server from protobufs
  • dsunit

    3.4 3.6 Go
    Datastore Testibility
  • covergates

    3.4 0.0 Go
    The portal gates to coverage reports
  • Gont

    3.4 9.2 Go
    A Go testing framework for distributed applications
  • testcerts

    3.3 6.1 Go
    Dynamically generate self-signed certificates and certificate authorities for Go tests
  • gherkingen

    3.3 5.5 Go
    Behaviour Driven Development tests generator for Golang
  • restit

    3.1 5.6 Go
    A Go library help testing your RESTful API application
  • gospecify

    3.1 0.0 Go
    A BDD library for Go
  • gomatch

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

    2.4 6.0 Go
    Extensible, type-safe, fluent assertion Go library.
  • Hamcrest

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

    2.1 0.0 Go
    bro watch files in directory and run tests for them
  • Probe

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

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

    2.0 7.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
  • Example of testing Go code with Postgres

    1.7 7.3 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.
  • schema

    1.5 0.0 Go
    Quick and easy expression matching for JSON schemas used in requests and responses
  • mockit

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

    1.4 9.5 Go
    Golang HTTP client testing framework
  • gosuite

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

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

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

    1.3 10.0 Go
    :moon_cake: A simple way to generate mocks for multiple purposes
  • biff

    1.3 0.0 Go
    Bifurcation Framework for testing and use cases
  • stop-and-go

    1.3 3.8 Go
    Testing helper for concurrency
  • 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.9 2.9 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-mysql-test-container

    0.6 0.0 Go
    Golang MySQL testcontainer package

Add another 'Testing' Package