node-express-test-bot
A little helper for test environments, that runs an express server, executes queries against it and kills the server afters.
Installation
npm install express-test-bot
API
Load the library:
var ExpressTestBot =
Default usage:
With options:
// app: path to the file which starts the express server // default value: process.cwd() + '/app.js' app: 'server.js' // debug: log some more information to stdout // default value: false debug: true
License
Hereby placed under MIT license.