Show HN: Should – Expressive Assertions for Go
Category: devtools
Tags: testing, go-library, assertions
Score: 6.5/10 (Innovation: 4, Technical: 6, Documentation: 9, Utility: 7)
Should is an assertion library for Go that focuses on providing exceptionally detailed and readable error messages for test failures. It's interesting because it uses Go generics for type safety and includes smart features like string similarity suggestions and rich context formatting for various data types to speed up debugging.
Target audience: backend devs
Repository: https://github.com/Kairum-Labs/should · Go · MIT · 38 stars
View on Hacker News