034: End to End & Integration Tests - Test Driven Development (TDD) to create a REST API (Golang)

Опубликовано: 04 Ноябрь 2024
на канале: Testing All The Things
2,357
35

In this episode of Testing All The Things we continues to use Test Driven Development (TDD) to drive out the implementation the simple HTTP REST(ish) API in Go using Gorilla Mux.

The second feature we add is a new endpoint to GET the book by ISBN 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 /book/{isbn} 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 **