Skip to content

srinu-kodi/ApiAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run your API tests in fraction of seconds using SuperTest library. supertest gotta fluent API and it is very easy to use using jest runner. It hardly takes 1 min to write the test on any CRUD operation on APIs.

Steps to run:
Pre-req: One should have node & npm installed on their machine before running the tests. Install Node & NPM:
Goto below URL, download Node and install it. You'are all set to run the tests.
https://www.npmjs.com/get-npm

  1. First of all clone this repo & open in an IDE
  2. Run npm install
  3. Now run npm test

If you want to run specific test suites like smoke or regression, then run below command. You can add the spec files under these directories and that's it !

npm run smoke
npm run regression

results:
result report(index.html) is generated into results directory.

About

Javascript based API Test Automation using SuperTest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •