attest
assert
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
attest
-
Go wishlist (2022) by brandur.org
> Test assertions Can be a library and numerous do exist. My favorite is https://github.com/akshayjshah/attest
- alecthomas/assert: A minimalist type-safe drop-in replacement for testify/require
assert
-
Libraries you use most of your projects?
https://github.com/alecthomas/assert As an assertion library
- alecthomas/assert: A minimalist type-safe drop-in replacement for testify/require
What are some alternatives?
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
go-cmp - Package for comparing Go values in tests
quicktest - Quick helpers for testing Go applications
go-utils - Simple and performant utilies using Go generics inspired by JavaScript and Python
tparse - CLI tool for summarizing go test output. Pipe friendly. CI/CD friendly.
be - The Go test helper for minimalists
genfuncs - Go 1.18+ polymorphic generic containers and functions.
backoff - ⏱ The exponential backoff algorithm in Go
go-testdeep - Extremely flexible golang deep comparison, extends the go testing package, tests HTTP APIs and provides tests suite
versioninfo - Importable package that parses version info from debug.ReadBuildInfo().
pretty - Pretty printing for Go values
notify - A dead simple Go library for sending notifications to various messaging services.