GaProgMan / bookApi

An API and UI for a fake book search engine - built entirely in the open, on Twitch
https://twitch.tv/gaprogman
MIT License
2 stars 0 forks source link

Book Controller Integration Tests #6

Open GaProgMan opened 3 years ago

GaProgMan commented 3 years ago

Description

Currently, all controllers are tested using unit tests. This is useful, as we can ensure that the controller action methods when instantiating an instance of the controller class do indeed work. However, we have no way of actually knowing, in a programmatic way, whether HTTP calls through to the routes described on those controllers actually work correctly.

As such, add a set of integration tests for both of the GET endpoints on the BookController controller class.

High-Level Proposed Solution

Considerations

Requirements