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.

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

  • 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

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

  • 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

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). The latest post mention was on 2024-02-27.

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 21,981
2 GoConvey 8,093
3 ginkgo 7,900
4 go-cmp 3,967
5 dockertest 3,960
6 Gauge 2,937
7 Looking for Maintainer 2,413
8 godog 2,188
9 gomega 2,072
10 is 1,707
11 gnomock 1,306
12 go-vcr 1,093
13 testfixtures 1,045
14 goblin 885
15 baloo 770
16 goc 769
17 GoAws 758
18 embedded-postgres 739
19 gocheck 691
20 go-mutesting 617
21 gotest.tools 490
22 gofight 438
23 go-testdeep 417
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com