Go unit-testing

Open-source Go projects categorized as unit-testing

Top 14 Go unit-testing Projects

  • chromedp

    A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.

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

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

  • keploy

    Test generation for Developers. Generate tests and stubs for your application that actually work!

    Project mention: Getting Started with Keploy | dev.to | 2024-02-12

    October is the month of Open Source and Keploy is taking part in this celebration. You can contribute to several Keploy projects by participating in this year’s Hacktoberfest. You can both contribute to the code part and the no-code part as well. Here are some contributions that you can make!

  • service-pattern-go

    Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.

  • testza

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

  • got

    An enjoyable golang test framework. (by ysmood)

  • test-at-scale

    TAS is an intelligent test execution platform for engineering teams to achieve high development velocity.

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

  • shop-golang-microservices

    Practical microservices based on different software architecture and technologies like Golang, CQRS, Vertical Slice Architecture, Docker, RabbitMQ, OpenTelemetry, Postgresql, ...

  • dbcleaner

    Clean database for testing, inspired by database_cleaner for Ruby

  • go-snaps

    Jest-like snapshot testing in Golang 📸

  • err2

    Automatic and modern error handling package for Go

    Project mention: errors alternatives - tracerr and err2 | libhunt.com/r/difof/errors | 2023-12-06
  • golang-table-tests-with-testify-mock

    This repo shows how to test and mock multiple dependencies using table-driven tests with testify-mock in Golang

  • hottest

    hottest - user-friendly 'go test' that extracts error messages.

    Project mention: actions-hottest🚀: GitHub Actions for Commenting on Golang Unit Test Results in Pull Requests | dev.to | 2023-12-02

    I have now separated that functionality into the nao1215/hottest command.

  • go-testpredicate

    Unit-testing predicates for Go.

  • 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 unit-testing related posts

Index

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

Project Stars
1 chromedp 10,320
2 dockertest 3,950
3 keploy 3,289
4 service-pattern-go 775
5 testza 415
6 got 262
7 test-at-scale 213
8 shop-golang-microservices 203
9 dbcleaner 157
10 go-snaps 128
11 err2 49
12 golang-table-tests-with-testify-mock 13
13 hottest 8
14 go-testpredicate 5
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com