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: Go Unit Testing: Structure & Best Practices | dev.to | 2026-05-23

    Testify GitHub Repository

  2. SaaSHub

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

    SaaSHub logo
  3. mockery

    A mock code autogenerator for Go (by vektra)

    Project mention: My 2025 review | dev.to | 2026-01-05

    Mock implementations for testing (using mockery)

  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

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

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

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

  • Go Unit Testing: Structure & Best Practices

    1 project | dev.to | 23 May 2026
  • Terratest: Automated Integration Testing for Terraform Infrastructure

    4 projects | dev.to | 21 Apr 2026
  • One Method to Test Them All

    3 projects | dev.to | 27 Feb 2026
  • Go Unit Testing: Structure & Best Practices

    2 projects | dev.to | 16 Nov 2025
  • Show HN: Should – Expressive Assertions for Go

    2 projects | news.ycombinator.com | 6 Aug 2025
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Testify 26,010
2 mockery 7,125
3 Go-Clean-Architecture-REST-API 955
4 go-fiber-boilerplate 216
5 testifylint 169
6 mockcompose 16
7 golang-table-tests-with-testify-mock 15
8 mock 10

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

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