chrome-app-test-runner
v0.0.20
Published
Runs mocha tests in a chrome app
Downloads
21
Maintainers
Readme
Chrome App Test Runner
This test runner will run mocha tests in a chrome app.
The test files are expected to use nodejs style modules and mocha bdd style tests.
Test coverage will be output to console for every test file and an overall coverage summary will follow if more than one test was run. Test coverage reports can be found in node_modules/chrome-app-test-runner/coverage/
Providing a mock server
If your integration tests require a mock http server, the server can be specified with --mock-server=
The server must output a listening string indicating the port number when it is ready to receive requests. For example: listening on 8888
Usage
node run-test.js <test-file> [<test-file> ...] [--mock-server=<server-file>]