In this episode of Testing All The Things we start to use Test Driven Development (TDD) to drive out the implementation the small HTTP REST(ish) API in Golang 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 Golang 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:
https://github.com/testingallthething...
You can follow me on twitter: / braddle
** Please Rate, Review, Subscribe and Share these videos **