chrome-app-test-runner

0.0.20 • Public • Published

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>]

Package Sidebar

Install

npm i chrome-app-test-runner

Weekly Downloads

0

Version

0.0.20

License

ISC

Last publish

Collaborators

  • tejohnso