sise-cweb-restful-api-tests
测试您的CWEB项目
用法
将模块作为依赖项安装在您自己的项目中
> npm install sise-restful-api-tests
然后使用以下命令创建一个test.js文件
// 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'