0.2.3 • Published 6 years ago

sise-restful-api-tests v0.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

sise-restful-api-tests

npm.io npm.io npm.io

SISE-RESTful-API tests for your project

Usage

Install the module in your own project as a dependency

> npm install sise-restful-api-tests

Then create a test.js file with the following

// Migrations Data
var migrations = require('../node_modules/sise-db/test/migrations.json')

// Your RESTful HTTP API implementation entry point
var api = require('../src/index.js')

// This are the tests that will be run
var test = require('sise-restful-api-tests').base

// Run the tests
test(migrations, api)

Then, run that script by doing

> node test.js
0.2.3

6 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago