2025-06-25

There’s no reason to use Testify’s Suite package for Go unit tests anymore. It’s possible to do whatever you need to do with Go’s builtin test runner. Furthermore, most IDEs are smart enough to detect and run sub-tests that use t.Run(). So save yourself some trouble and just use the defaults.

I guess my point is that it’s nice to be able to run specific unit tests directly from the IDE, and that’s difficult to do using the Suite package.