Go Tdd

Open-source Go projects categorized as Tdd

Top 8 Go Tdd Projects

  • learn-go-with-tests

    Learn Go with test-driven development

    Project mention: [Go, Book Review] Learn Go with Tests by Chris James | dev.to | 2024-03-23

    There are not particularly bad parts. Overall the book is well written and organized. Moreover, Since it is also an open-source material, many readers have contributed to the contents of the book(including a few of mine :)). I hope there are more books like this for other languages such as Rust or Python.

  • go-sqlmock

    Sql mock driver for golang to test database interactions

    Project mention: How do you unit-test code that reaches out to the db, without introducing interfaces everywhere? | /r/golang | 2023-08-16
  • 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.

  • goss

    Quick and Easy server testing/validation

    Project mention: Tools for validating K8s features | /r/kubernetes | 2023-06-08

    Certain checks may be possible with goss and the kgoss wrapper: https://github.com/goss-org/goss/tree/master/extras/kgoss

  • go-txdb

    Immutable transaction isolated sql driver for golang

  • pgxmock

    pgx mock driver for golang to test database interactions

  • testcase

    testcase is an opinionated testing framework to support test driven design.

    Project mention: Updates to `testcase` Testing Framework: Enhanced Assertions, Time Manipulation, Random Value Generation and More! | /r/GolangLinks | 2023-06-16
  • gomatch

    Library created for testing JSON against patterns.

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

  • 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

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-03-23.

Go Tdd related posts


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

Project Stars
1 learn-go-with-tests 21,214
2 go-sqlmock 5,807
3 goss 5,431
4 go-txdb 615
5 pgxmock 274
6 testcase 115
7 gomatch 46
8 golang-table-tests-with-testify-mock 13
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives