Skip to content

marciovrl/supertest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-supertest

Example of tests (functional and contract) of an API using Supertest. The API used for testing is JSONPlaceholder.

Getting started

Configuration

git clone https://github.com/marciovrl/supertest.git

Clone the project

npm install

Install the dependencies

Commands

npm run feature-test

Run functional tests

npm run contract-test

Run contract tests

npm run test

Run all tests

About

Example of tests of an API using Supertest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published