In this episode of Testing All The Things we start to use Test Driven Development (TDD) to drive out the implementation the simple HTTP REST(ish) API in Go using Gorilla Mux.
The first feature we add is a new endpoint to GET the health of the Microservice. Starting with an End to End Test write using Testify and Go HTTP Client to design out how consumers of the API will interact with the /healthcheck endpoint.
The code produced during this episode can be found on GitHub