While Go’s dependency management story isn’t an encouraging one, from a testing perspective I personally have few complaints with Go. Mocking with interfaces is straightforward, and despite the basic testing package, I find it quite easy and straightforward to both write and run Go tests — a testing “framework” is not required.
I do generally use the testify assert package for convenience[0], but it’s not strictly necessary.
I do generally use the testify assert package for convenience[0], but it’s not strictly necessary.
[0]: https://github.com/stretchr/testify