This article shows a poor grasp on the meaning of unit testing. A unit is the smallest testable bit of code (in Go it would generally be a function). If you redefine the smallest bit of testable code as a http endpoint as a whole, you have a design problem there.

This might be integration testing?

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store