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 reddit.com/r/golang

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • assert

    A simple assertion library using Go generics (by alecthomas)

  • go-cmp

    Package for comparing Go values in tests

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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • be

    Generic testing helper for Go

    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.

  • attest

    Type-safe assertion helpers for Go (by akshayjshah)

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