Go Testify

Open-source Go projects categorized as Testify

Top 8 Go Testify Projects

  1. Testify

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

    Project mention: 5 Golang Libraries You’ll Wish You Knew Sooner | dev.to | 2025-05-18

    Testify simplifies writing unit tests in Go. The standard testing package is fine, but Testify adds assertions, mocking, and suite support, making tests more readable and maintainable.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. mockery

    A mock code autogenerator for Go (by vektra)

  4. Go-Clean-Architecture-REST-API

    Golang Clean Architecture REST API example

  5. go-fiber-boilerplate

    A boilerplate for building RESTful APIs using Golang, Fiber, and GORM PostgreSQL

    Project mention: Building a RESTful API with Go Fiber: An Express-Inspired Boilerplate | dev.to | 2024-10-05

    git clone --depth 1 https://github.com/indrayyana/go-fiber-boilerplate.git cd go-fiber-boilerplate rm -rf ./.git

  6. testifylint

    The Golang linter that checks usage of github.com/stretchr/testify.

  7. mockcompose

    mockcompose generates mocking implementation for Go classes, interfaces and functions

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

  9. SaaSHub

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

    SaaSHub logo
  10. mock

    Testify mock without the boilerplate (amd64 + arm64) (by razzie)

    Project mention: Show HN: Testify mock without the boilerplate (Golang) | news.ycombinator.com | 2025-01-01
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 Testify discussion

Log in or Post with

Go Testify related posts

  • Full Introduction to Golang with Test-Driven Development

    1 project | news.ycombinator.com | 3 Aug 2024
  • Why I don't use a third-party assertion library in Go unit tests

    1 project | dev.to | 20 May 2024
  • Testing calls to Daily's REST API in Go

    2 projects | dev.to | 8 Sep 2023
  • Gopher Pythonista #1: Moving From Python To Go

    3 projects | dev.to | 27 Jul 2023
  • Do you wrap testing libraries?

    1 project | /r/golang | 16 May 2023
  • [Go] How to unit test for exception handling?

    1 project | /r/learnprogramming | 19 Apr 2023
  • Is gomock still maintained and recommended?

    7 projects | /r/golang | 6 Mar 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

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

# Project Stars
1 Testify 24,760
2 mockery 6,640
3 Go-Clean-Architecture-REST-API 889
4 go-fiber-boilerplate 163
5 testifylint 139
6 mockcompose 16
7 golang-table-tests-with-testify-mock 14
8 mock 10

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?