NibrazKhan / Mocha_Axios_API_Testing

Tested an API using Mocha and axios framework by user interaction and created mochawesome report/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

mochawesome_report

About

Tested an API using Mocha and axios framework by user interaction and created mochawesome report/


Languages

Language:JavaScript 100.0%