Skip to content

jpmoreira-ti/template-javascript-api-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template JavaScript API Tests

Template for API tests in JavaScript using Jest and Supertest.
The API used in this project is from FakeStoreAPI.

Prerequisites

Installation

To install the project dependencies, run the following command:

npm install

Test Execution and Report

To run the tests and generate the test report, run the following command:

npm test

Test Report

The test report is generated at ./reports/test-api-report.html.

Plugins

The following plugins are used in the project and are configured in the jest.config.js file:

jest-html-reporter: Used to generate test reports in HTML.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published