sise-cweb-restful-api-tests

0.3.0 • Public • Published

sise-cweb-restful-api-tests

Tests for your CWEB 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-cweb-restful-api-tests').base

// Run the tests
test(migrations, api)

Then, run that script by doing

> node test.js

Readme

Keywords

Package Sidebar

Install

npm i sise-cweb-restful-api-tests

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

5.58 kB

Total Files

5

Last publish

Collaborators

  • daviddias