API Test Automation is mocha framework to perform API testing using axios npm package.
Clone Repository
1. git clone https://github.com/sadabnepal/APIAxiosMochaTypeScript.git
2. Navigate to APIAxiosMochaTypeScript
Install the dependencies
npm install
API Sources
https://reqres.in/api
Run tests and Generate Report
npm test [run all tests]
- Axios Library
- Mochawesome Report
- Export response to json file
- Mocha framework to organize tests
├───src
| ├───config
| ├───helper
| ├───services
| └───test
├───.env.example
├───.gitignore
├───package-lock.json
├───package.json
├───README.md
└───tsconfig.json