Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 855 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 855 Bytes

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.