0.4.0 • Published 9 years ago
mocha-istanbul-spec v0.4.0
mocha-istanbul-spec
fork of mocha-istanbul which adds spec reports as well, Mocha reporter to generate coverage report of istanbul instrumented code.
Usage
- Install
istanbul,mochaandmocha-istanbul-spec - Instrument your code using
istanbul - Make your tests to use the instrumented code (see COA library as an example)
- Run
mochausingmocha-istanbul-specas a reporter - Use the environment variable
ISTANBUL_REPORTERSto specify a comma separated list of istanbul reports. By defaultISTANBUL_REPORTERS=text-summary,html