- Login to the collection with valid email and password and generate token.
- Get user list with valid info.
- Create,Search,Update and Delete user.
- axios
- mocha,chai,mochawesome
- Visual Studio Code
- javascript
-
VS Code
-
Open the project in VS Code give the command to install dependencis mocha,chai,axios,fs,faker,shelljs
npm init -y
npm i mocha chai
to install mocha and chainpm i axios
to install axiosnpm i fs
for file writenpm i @faker-js/faker
for generating random datanpm i shelljs
for run the project from terminal dynamically
-
Clone the repo
-
Give command in root directory
node test file (filename)
ornpx mocha filename --timeout=30000
-
For generating report install mochawesome and generate a file mochawesome.js and clone code mochawesome.js.
For install mochawesome
npm i mochawesome
Set mochawesome.js file to package.json scripts and give command
npm start file (filename)