https://github.com/nibrazkhan/mocha_axios_api_testing
Tested an API using Mocha and axios framework by user interaction and created mochawesome report/
https://github.com/nibrazkhan/mocha_axios_api_testing
axios chai faker mocha mochawesome-report nodejs postman shelljs
Last synced: 3 months ago
JSON representation
Tested an API using Mocha and axios framework by user interaction and created mochawesome report/
- Host: GitHub
- URL: https://github.com/nibrazkhan/mocha_axios_api_testing
- Owner: NibrazKhan
- Created: 2022-09-08T21:33:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T21:45:20.000Z (over 3 years ago)
- Last Synced: 2025-07-25T01:04:15.322Z (8 months ago)
- Topics: axios, chai, faker, mocha, mochawesome-report, nodejs, postman, shelljs
- Language: JavaScript
- Homepage:
- Size: 5.18 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mocha_Axios_API_Testing
### Prerequisites
- Install Nodejs latest version
- Install VS code latest version
### How to run this project
- Clone the repo
- Open termianl in the root folder\
- Give following commands:
```
npm init -y
```
```
npm test file ./user.test.js
```
**To create mochawesome report**, give following commands:
```
npm i mochawesome
```
```
npm start file ./User.test.js
```
### Screenshot
This is the screenshot of **mochawesome.html** report:
