Cypress is the best answer to what if we can use the same tool for UI testing to also test our APIs.
- Setup is minimal
- Cypress supports BDD and TDD style assertion.
- Plugins are available to support adding đĨ feature files for testing in cypress.
- We can add a visual test runner for our API tests and also run it headlessly on the command line
For REST API tests, check folder exercise-1.
For WEB FRONTEND tests, check folder exercise-2.
Details about how to run the api and ui tests, risks and issues faced are detailed in their respective READMEs.