Skip to content

A practicalmeteor:mocha console reporter for running your package tests from the command line with spacejam.

License

Notifications You must be signed in to change notification settings

hubroedu/meteor-mocha-console-runner

 
 

Repository files navigation

hubroedu:mocha-console-runner

Converted from coffeescript, to work with hubroedu:mocha

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

# For apps
spacejam test --driver-package=hubroedu:mocha-console-runner
# For packages
spacejam test-packages --driver-package=hubroedu:mocha-console-runner <package(s)>

Client side tests will be executed in phantomjs.

With meteor

# For apps
meteor test --driver-package=hubroedu:mocha-console-runner
# For packages
meteor test-packages --driver-package=hubroedu:mocha-console-runner <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 hubroedu:mocha directly.

For more information check spacejam documentation HERE

License

hubroedu:mocha-console-runner - MIT

mocha - MIT

About

A practicalmeteor:mocha console reporter for running your package tests from the command line with spacejam.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.3%
  • HTML 1.6%
  • CSS 0.1%