1.0.3 • Published 10 years ago
mocca v1.0.3
mocca
Overview
It's quite cumbersome to install mocha, all awesome plugin you love and call it with the right arguments...
... but mocca is here to help you!
Features
- A whole bunch of awesome plugins
- Auto detects babel
npm install babel-coreandbabel-core/registerwill be used as compiler
- Overwrite options from either
.mocha.optsor.moccarc - Creates a JUnit compliant
test-results.xmlon TravisCI and CircleCI- To be honest: It's based on the existance of the environment variable
CI
- To be honest: It's based on the existance of the environment variable
- Detect test files based on the
__test__/someFile-test.jsnaming scheme
Installation
It's simple as:
$ npm install --save-dev moccaAnd running your tests is also pretty simple:
$ ./node_modules/.bin/mocca