Skip to content

Themba47622/supertest-mocha-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Test Automation | Supertest | Mocha

Description

supertest + mocha api test automation example

Installation

$ npm install

Run tests

$ npm test

Run tests with mochawesome reporter

$ npm run test:awesome

Start express test API

$ npm start

or

$ node src/app.js

Invoke express test API from a browser or REST client

http://localhost:8000/api/movies

Public API

https://reqres.in

Releases

No releases published

Packages

No packages published