10

8

6

4

2


9.8

8.8

9.6

6.7

9.5

2.5

9.4

4.1

9.4

8.7

9.2

9.6

100 Testing packages and projects

  • Testify

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

    9.6 6.7 Go
    A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.
  • Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
    Promo getstream.io
    Stream Logo
  • gomock

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

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

    9.4 8.7 Go
    A Modern Testing Framework for Go
  • mockery

    9.2 9.6 Go
    A mock code autogenerator for Go
  • rod

    9.1 7.7 Go
    A Chrome DevTools Protocol driver for web automation and scraping.
  • go-sqlmock

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

    8.9 3.7 Go
    Randomized testing for Go
  • gotests

    8.9 0.0 Go
    Automatically generate Go test boilerplate from your source code.
  • Testcontainers-go

    8.8 9.6 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.
  • 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.
  • dockertest

    8.7 7.6 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.6 Go
    Package for comparing Go values in tests
  • 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.
  • godog

    8.3 5.6 Go
    Cucumber for golang
  • playwright-go

    8.3 6.5 Go
    Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
  • httpexpect

    8.3 7.9 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
  • gomega

    8.2 8.1 Go
    Ginkgo's Preferred Matcher Library
  • httpmock

    8.0 5.9 Go
    HTTP mocking for Golang
  • gock

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

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

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

    7.5 8.2 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 7.1 Go
    Record and replay your HTTP interactions for fast, deterministic and accurate tests
  • failpoint

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

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

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

    7.2 2.7 Go
    A Comprehensive Coverage Testing System for The Go Programming Language
  • embedded-postgres

    7.2 4.6 Go
    Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test
  • GoAws

    7.1 6.6 Go
    AWS (SQS/SNS) Clone for Development testing
  • goblin

    7.1 0.0 Go
    Minimal and Beautiful Go testing framework
  • gocheck

    7.1 0.0 Go
    Rich testing for the Go language
  • cdp

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

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

    6.8 6.0 Go
    Mmock is an HTTP mocking application for testing and fast prototyping
  • go-txdb

    6.7 5.4 Go
    Immutable transaction isolated sql driver for golang
  • go-mutesting

    6.7 0.0 Go
    Mutation testing for Go source code
  • minimock

    6.7 6.5 Go
    Powerful mock generation tool for Go programming language
  • Fake

    6.6 2.6 Go
    Fake data generator for Go (Golang)
  • gotest.tools

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

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

    6.2 7.6 Go
    Testing API Handler written in Golang.
  • testza

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

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

    5.6 6.4 Go
    End to end functional test and automation framework
  • cupaloy

    5.6 0.0 Go
    Simple Go snapshot testing
  • frisby

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

    5.5 1.1 Go
    Go Interface Mocking Tool
  • 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-carpet

    5.2 3.0 Go
    Tool for show test coverage in terminal for Go source files
  • go-hit

    5.2 5.1 Go
    http integration test framework
  • godump

    4.9 8.5 Go
    Dump any GO variable with ease
  • govcr

    4.9 5.1 Go
    HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
  • smtpmock

    4.7 6.5 Go
    SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.
  • dbcleaner

    4.6 1.8 Go
    Clean database for testing, inspired by database_cleaner for Ruby
  • jsonassert

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

    4.3 0.0 Go
    Testing framework for Go. Allows writing self-documenting tests/specifications, and executes them concurrently and safely isolated. [UNMAINTAINED]
  • 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
  • gocrest

    3.9 2.3 Go
    GoCrest - Hamcrest-like matchers for Go
  • go-localstack

    3.9 7.3 Go
    Go Wrapper for using localstack
  • be

    3.8 3.2 Go
    The Go test helper for minimalists
  • FauxRPC

    3.7 8.8 Go
    Easily start a fake gRPC/gRPC-Web/Connect/REST server from protobufs
  • assert

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

    3.5 9.0 Go
    A Go testing framework for distributed applications
  • testcerts

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

    3.4 5.5 Go
    Behaviour Driven Development tests generator for Golang
  • covergates

    3.3 0.0 Go
    The portal gates to coverage reports
  • dsunit

    3.3 2.4 Go
    Datastore Testibility
  • restit

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

    3.1 0.0 Go
    A BDD library for Go
  • gomatch

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

    2.4 6.0 Go
    DISCONTINUED. Extensible, type-safe, fluent assertion Go library. Do NOT use it (sic!).
  • Hamcrest

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

    2.2 7.6 Go
    Fixture manage engine, inspired by pytest fixtures.
  • 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

    1.9 0.0 Go
    Mock object for Go http.ResponseWriter
  • gogiven

    1.7 3.4 Go
    gogiven - BDD testing framework for go that generates readable output directly from source code
  • Example of testing Go code with Postgres

    1.7 7.4 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.
  • MockItOut

    1.6 0.0 Go
    A language agnostic HTTP mock server for quick stub testing
  • flute

    1.5 9.7 Go
    Golang HTTP client testing framework
  • testsql

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

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

    1.4 0.0 Go
    Quick and easy expression matching for JSON schemas used in requests and responses
  • gosuite

    1.3 0.0 Go
    Test suites support for standard Go1.7 "testing" by leveraging Subtests feature
  • stop-and-go

    1.3 3.8 Go
    Testing helper for concurrency
  • prettybenchcmp

    1.2 0.0 Go
    cmd tool for automatic storage and comparison of benchmarks results
  • biff

    1.2 0.0 Go
    Bifurcation Framework for testing and use cases
  • mooncake

    1.1 10.0 Go
    :moon_cake: A simple way to generate mocks for multiple purposes
  • badio

    1.1 0.0 Go
    Extensions to Go's testing/iotest package
  • Tt

    1.0 2.4 Go
    Simple and colorful test tools
  • diff

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

    0.8 0.0 Go
    DISCONTINUED. test utilities for golang [GET https://api.github.com/repos/tvastar/test: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository]
  • go-mysql-test-container

    0.7 0.0 Go
    Golang MySQL testcontainer package

Add another 'Testing' Package