Skip to content

lribac/api-testing-jest

Repository files navigation

API testing with JEST and Supertest

More information on Jest and Supertest

Prerequisites

  • node (recommended version 16 and above)

Run tests

  1. Run all tests npm run test
  2. Run specific tests npm run test getRequest.test.js
  3. Run multiple tests npm run test getRequest.test.js postRequest.test.js

Reporting

The test results will display in the CLI and in the reports folder after tests finish up.

About

API testing using Jest framework and supertest js library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published