This is a repository of E2E testing for the Booker API using Mocha, Chai, and Supertest. API Reference: Booker API
- Install Mocha, Chai, and Supertest
npm install mocha chai supertest
- Install Dotenv
npm install dotenv
- Install Mochawesome
npm install mochawesome --save-dev
Create a .env
file in the root directory of the project and add the following variables:
- API_URL
- API_BACKEND_USERNAME
- API_BACKEND_PASSWORD
npm test