practicalmeteor:mocha-console-runner

v0.2.0-meteor-1.3-beta.16.1Published 10 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

practicalmeteor:mocha-console-reporter

A meteor package that runs your mocha package tests and prints the server side and client side test results to the client-side console. To be used with spacejam, for running your mocha package tests from the command line or in continuous integration environments.

Usage

With spacejam

spacejam test-packages --driver-package=practicalmeteor:mocha-console-reporter <package(s)>

Client side tests will be executed in phantomjs.

With meteor

meteor test-packages --driver-package=practicalmeteor:mocha-console-reporter <package(s)>

Open any browser to run your client side tests in that browser. Will print the results of both server side and client side tests to the browser console.

If you'd like an HTML reporter, just use practicalmeteor:mocha directly.

License

practicalmeteor:mocha-console-reporter - MIT

mocha - MIT