Restful-booker is a Create Read Update Delete Web API that comes with authentication features and loaded with a bunch of bugs for you to explore. The API comes pre-loaded with 10 records for you to work with and resets itself every 10 minutes back to that default state.
In this project we have written Test Cases on some of the endpoints provided by Restful-Booker and automated some test cases with cypress. We also have written a detailed Test Plan and Testing Checklist. All the documents can be found inside Documents directory.
- Node.js v20.12.0
- Cypress v13.7.1
- chai-json-schema
- chai-xml
-
Clone this repository
-
Go inside the projects root directory
-
Run
npm install
and all the dependencies will be installed -
Run
npm run cypress:open
. This will open the cypress UIOr,
-
Run
npm run cypress:run:
. This will run all the test cases in headless mode and a summary of report will be visible in terminal.
Please go inside the Documents
directory of follow the links below