Skip to content

JEHAL981/node-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api Acceptance-test example

This is a basic example of Supertest + Chai + Mocha API test using http://api.postcodes.io/

Prerequisites

  1. Download and install Node v8.1.1.

The test suite also has a bunch of yarn dependencies which will be installed when you follow the installation steps below.

  • supertest
  • Chai
  • Mocha

Installation

To install the test suite locally, including the above npm dependencies:

  1. Clone this repository.
  2. Run npm install from the root directory of this repository.

Local

To run the tests locally against the test portal environment:

  1. Run npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published