Closed bmachado18 closed 3 days ago
Updated the testing framework to cypress. Added tests for TDD for each CRUD API for reviews. Implemented each endpoint, and ensured passing in CI. Note that the getReview endpoint is not in the API spec, but I included it anyway for full CRUD.
I am just waiting on the OpenAPI spec PR to be approved so I can progress from a draft PR. See https://github.com/matt-lebl/uvic-market-openapi/pull/18.
Closes #66
docker-compose down -v docker-compose up --build -d review database datalayer docker exec -it martletplace_review bash npm test
docker-compose down -v
docker-compose up --build -d review database datalayer
docker exec -it martletplace_review bash
npm test
Description
Updated the testing framework to cypress. Added tests for TDD for each CRUD API for reviews. Implemented each endpoint, and ensured passing in CI. Note that the getReview endpoint is not in the API spec, but I included it anyway for full CRUD.
I am just waiting on the OpenAPI spec PR to be approved so I can progress from a draft PR. See https://github.com/matt-lebl/uvic-market-openapi/pull/18.
Closes #66
How to Test
docker-compose down -v
docker-compose up --build -d review database datalayer
docker exec -it martletplace_review bash
npm test
Checklist