![devDependencies](https://david-dm.org/michaelcontento/mocca/dev-status.svg)
![npm downloads](https://img.shields.io/npm/dm/mocca.svg?style=flat-square)
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-core
and babel-core/register
will be used as compiler
- Overwrite options from either
.mocha.opts
or .moccarc
- Creates a JUnit compliant
test-results.xml
on TravisCI and CircleCI
- To be honest: It's based on the existance of the environment variable
CI
- Detect test files based on the
__test__/someFile-test.js
naming scheme
Installation
It's simple as:
$ npm install --save-dev mocca
And running your tests is also pretty simple:
$ ./node_modules/.bin/mocca