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?

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

  • SaaSHub

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

    SaaSHub logo
  • 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

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

  • Mocking database or use a test database

    5 projects | /r/golang | 18 Apr 2022
  • Unit Testing in Golang

    1 project | /r/golang | 1 Feb 2021

Index

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

Project Stars
1 chromedp 10,389
2 dockertest 3,970
3 keploy 3,341
4 service-pattern-go 775
5 testza 416
6 got 262
7 test-at-scale 220
8 shop-golang-microservices 208
9 dbcleaner 158
10 go-snaps 131
11 err2 49
12 golang-table-tests-with-testify-mock 13
13 hottest 9
14 go-testpredicate 5

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