alecthomas/assert: A minimalist type-safe drop-in replacement for testify/require

This page summarizes the projects mentioned and recommended in the original post on /r/golang

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

    A simple assertion library using Go generics (by alecthomas)

  2. SaaSHub

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

    SaaSHub logo
  3. go-cmp

    Package for comparing Go values in tests

    it uses https://github.com/google/go-cmp instead of reflect.DeepEqual

  4. be

    The Go test helper for minimalists

    I spent the last week working on one of these: https://github.com/carlmjohnson/be. Some initial thoughts I have are that the error messages basically don’t matter because if the test fails you’re going to dig into the line where the failure happens anyway.

  5. attest

    Type-safe assertion helpers for Go

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Functional Programming in Go

    2 projects | news.ycombinator.com | 8 Nov 2024
  • Leverage Your Test Suite With testcontainers-go & docker-compose

    4 projects | dev.to | 4 Oct 2024
  • New version of minimal test helper "be" with golden file support

    1 project | /r/golang | 2 Jun 2023
  • Gocrest v1.1.0 released

    1 project | /r/golang | 1 Apr 2023
  • GoCrest v1.0.8 released

    1 project | /r/golang | 24 Mar 2023

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