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

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • 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

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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

  • 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