News for hackers. Stuff that matters.
Re:What I learned in 2017 writing Go by ovao on Wednesday January 03, 2018 @03:10PM (#16064579)
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.

[0]: https://github.com/stretchr/testify

There are no comments on this comment yet.