https://github.com/shoenig/test
We've been using this for a couple years now, and it's been great. I am biased though, for obvious reasons. It makes use of the go-cmp library under the hood for creating legible diffs, and integrates well with protocmp for when you need to work with protobufs. On Thursday, February 22, 2024 at 2:20:57 AM UTC-6 Harmen wrote: > Hi, > > anyone has a tip for a nice (small) "assert" test help library which uses > generics for the "equals" and "not equals" functions? > > testify is the obvious library to use for tests, which works fine, but it > would > be nice to have something which uses generics here. > > Thanks! > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/61fe55d0-8e3d-4dc0-a12e-00f48dbc7856n%40googlegroups.com.