Skip to content

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

Notifications You must be signed in to change notification settings

NibrazKhan/Mocha_Axios_API_Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published