Re:How I write Go HTTP services after 7 years
by stockkid on Monday May 21, 2018 @09:46PM
(#17123213)
To be clear, you test individual functions handler uses, and to test the handlers themselves, you opt to test the whole stack as described in the article?
[ Parent
| on HN ]
Re:How I write Go HTTP services after 7 years
by carc1n0gen on Tuesday May 22, 2018 @04:21PM
(#17129082)
I test the whole stack to ensure things work as intended when all put together. But I also write very isolated unit tests. I usually have them in separate test suites so I can choose which ones to run