Show HN: Should – Expressive Assertions for Go

  • Posted 2 hours ago by andrey-1201
  • 3 points
A few months ago I posted this here. Since then I've added a bunch of new assertions: BeSorted, BeSameTime, BeWithin, BeError/BeErrorIs/BeErrorAs, formatted custom messages, and some renames for clarity.

The core idea is still the same — when a test fails, you should immediately know why without having to add debug prints.

https://github.com/Kairum-Labs/should

0 comments