/SupertestApiTestsGithub

SupertestApiTestsGithub

Primary LanguageHTML

SUPERTEST_API_FRAMEWORK

Usage

Run tests using:
npm test
Run tests with html report consisting of console logs
npm run-script printconsole

Installation Options

  1. Clone the repo using git clone
  2. . Install with npm
    • npm i

Configuration Options

  1. For html report config Parameters can be added or updated in jest.config.ts
  2. All user related data is present in data/userData.ts file
  3. Configuration related data is present in config/configuration.js

Packages used

  1. Supertest
  2. Jest
  3. Jest Html Reporter
  4. Dotnenv