Go Testing Frameworks

Open-source Go projects categorized as Testing Frameworks

Top 23 Go Testing Framework Projects

  • Testify

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

  • Project mention: What 3rd-party libraries do you use often/all the time? | /r/golang | 2023-12-01

    github.com/stretchr/testify

  • GoConvey

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

  • Project mention: Gokiburi: Automatic Test Runs for Go Projects | /r/golang | 2023-05-07

    I have always liked to use the similar GoConvey tool for automatic test runs during development, but it has definitely started to “show its age” and since Go 1.20 it hasn’t been able to parse code coverage correctly. So, I decided to dive into making my own tool to replace it for me.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ginkgo

    A Modern Testing Framework for Go

  • Project mention: Writing tests for a Kubernetes Operator | dev.to | 2023-10-07

    Ginkgo: a testing framework based on the concept of ‌"Behavior Driven Development" (BDD)

  • go-cmp

    Package for comparing Go values in tests

  • dockertest

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

  • Project mention: Testcontainers | news.ycombinator.com | 2024-02-27

    I am using https://github.com/ory/dockertest for tests, specifically for databases. Is there any advantage to use Testcontainers?

  • Gauge

    Light weight cross-platform test automation

  • Project mention: Python-Selenium-Action: Run Selenium with Python via Github Actions using Headless or Non-Headless browsers! | /r/Python | 2023-05-03

    Selenium is cool but https://gauge.org/ really cuts down on the boilerplate and is a lot more lightweight, may want to give it a look too

  • Looking for Maintainer

    Selenium/Webdriver client for Go (by tebeka)

  • Project mention: Automation with c++? | /r/Cplusplus | 2023-05-04

    There's this unofficial one for Go https://github.com/tebeka/selenium

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • godog

    Cucumber for golang

  • Project mention: Godog integration test failing with weird error | /r/golang | 2023-06-02

    It's complaining about a file missing in $GOPATH/pkg... but I'm not sure how do I get the packages its asking for. Things I have tried: - running go mod tidy - running go get -u github.com/cucumber/godog (hoping it would add the files to pkg/mod/... - Uninstalled and installed Go again.

  • gomega

    Ginkgo's Preferred Matcher Library

  • Project mention: Writing tests for a Kubernetes Operator | dev.to | 2023-10-07

    Gomega: is a test assertion library, a vital dependency on Ginkgo.

  • is

    Professional lightweight testing mini-framework for Go.

  • 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 💻

  • go-vcr

    Record and replay your HTTP interactions for fast, deterministic and accurate tests

  • testfixtures

    Ruby on Rails like test fixtures for Go. Write tests against a real database

  • goblin

    Minimal and Beautiful Go testing framework

  • baloo

    Expressive end-to-end HTTP API testing made easy in Go

  • goc

    A Comprehensive Coverage Testing System for The Go Programming Language

  • GoAws

    AWS (SQS/SNS) Clone for Development testing

  • embedded-postgres

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

  • gocheck

    Rich testing for the Go language (by go-check)

  • go-mutesting

    Mutation testing for Go source code

  • gotest.tools

    A collection of packages to augment the go testing package and support common patterns.

  • gofight

    Testing API Handler written in Golang.

  • go-testdeep

    Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Testing Frameworks related posts

Index

What are some of the best open-source Testing Framework projects in Go? This list will help you:

Project Stars
1 Testify 22,019
2 GoConvey 8,100
3 ginkgo 7,911
4 go-cmp 3,975
5 dockertest 3,967
6 Gauge 2,941
7 Looking for Maintainer 2,418
8 godog 2,193
9 gomega 2,076
10 is 1,709
11 gnomock 1,305
12 go-vcr 1,095
13 testfixtures 1,046
14 goblin 885
15 baloo 770
16 goc 769
17 GoAws 759
18 embedded-postgres 744
19 gocheck 691
20 go-mutesting 616
21 gotest.tools 490
22 gofight 438
23 go-testdeep 418

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com