mocha-istanbul
v0.3.0
Published
Istanbul code coverage reporter for Mocha
Downloads
17,925
Readme
mocha-istanbul
Mocha reporter to generate coverage report of istanbul instrumented code.
Usage
- Install
istanbul
,mocha
andmocha-istanbul
- Instrument your code using
istanbul
- Make your tests to use the instrumented code (see COA library as an example)
- Run
mocha
usingmocha-istanbul
as a reporter - Use the environment variable
ISTANBUL_REPORTERS
to specify a comma separated list of istanbul reports. By defaultISTANBUL_REPORTERS=text-summary,html