Go Testify

Open-source Go projects categorized as Testify

Top 6 Go Testify Projects

  • Testify

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

  • Project mention: Why I don't use a third-party assertion library in Go unit tests | dev.to | 2024-05-20

    Of course, as soon as people saw this, the third-party assertion helper libraries started appearing. The most popular one seems to be testify (although I've never used it). Personally, I thought that the explicit check would be good enough for me, but it's true that after writing a bunch of tests, the boilerplate does seem unnecessarily verbose.

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

    A mock code autogenerator for Go (by vektra)

  • Project mention: I Write Tests in Go | news.ycombinator.com | 2024-04-10

    I'm far too lazy to write mocks by hand in go. You can generate a mock for a given interface with mockery https://github.com/vektra/mockery

  • Go-Clean-Architecture-REST-API

    Golang Clean Architecture REST API example

  • testifylint

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

  • Project mention: Open source software maintenance is difficult: examples with Go math/rand/v2 and testify | dev.to | 2024-05-02

    PS: @Antonboom is doing an amazing work with testifylint. That is a major tool that helps Testify users to avoid v1's traps. More than a v2.

  • mockcompose

    mockcompose generates mocking implementation for Go classes, interfaces and functions

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

Go Testify discussion

Log in or Post with

Go Testify related posts

  • 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
  • What's your favourite part of unit testing?

    2 projects | /r/golang | 19 Jan 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 19 Jun 2024
    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. Learn more →

Index

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

Project Stars
1 Testify 22,356
2 mockery 5,757
3 Go-Clean-Architecture-REST-API 711
4 testifylint 83
5 mockcompose 15
6 golang-table-tests-with-testify-mock 13

Sponsored
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.
www.influxdata.com