I think it would be nice to have test suites like these for each of the exercises that have endpoints we can test, this will save a lot of time "guessing" if the endpoints work based off of the handler code.
A small note with that particular test suite. When I originally wrote it, the optional filters for GET /books and GET /pets were core criteria, however, now they are extension criteria.
I created a postman script that tested the endpoints of the api-express-database exercise.
https://gist.github.com/Auenc/8c4b5d117cf473a0619ddfeaeb49901b
In order to get the script setup:
The process to use this was as follows:
.env.
file containing a postgres URLI think it would be nice to have test suites like these for each of the exercises that have endpoints we can test, this will save a lot of time "guessing" if the endpoints work based off of the handler code.