Skip to content
Mocha spec reporter with code coverage output
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
README.md
index.js
package.json

README.md

Custom mocha https://github.com/visionmedia/mocha reporter

The mocha-spec-cov reporter is the same as spec however when run against a library instrumented by node-jscoverage (or coffee-coverage) it will produce coverage output. Total coverage and source files that have < 50% coverage at the end of the report (see screenshot).

npm install mocha-spec-cov

mocha -R mocha-spec-cov

Screen Shot

Something went wrong with that request. Please try again.