4 ms·
Show HN: Should – Expressive Assertions for Go
Hey folks. Hope you're all doing well.
We released should a few weeks ago. It's a lightweight assertion library for Go with zero dependencies and expressive error messages. It was made to make debugging test failures easier, with a very simple and straightforward API.
We’re keeping things lean, focusing on practical asserts and a smooth developer experience. The current version (v0.1.0) is stable and ready for real-world use while we continue to improve it based on feedback.
Take a look at the docs and let us know what you think. Appreciate any feedback or suggestions.
Repo: https://github.com/Kairum-Labs/should https://github.com/Kairum-Labs/should
- bradhe 1y agoAh this is interesting. I've been blindly using this library for the past 6 years: https://github.com/stretchr/testify https://github.com/stretchr/testify.
- andrey-1201 1y agoGlad you found it interesting. Testify is good, but it doesn’t provide very clear error messages and it comes with dependencies.