Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

NEW: Add subcommand to analyse the test coverage.

  • Loading branch information...
commit 3ed3c2cf7ab26f686df5d2c5d9061f13ac710078 1 parent fa73e4c
@lbdremy authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Makefile
5 Makefile
@@ -22,6 +22,11 @@ report:
mkdir report
plato -r -d report index.js lib/*.js lib/defaults/*.js lib/error/*.js lib/utils/index.js
+ jscoverage lib lib-cov
+ SCRAPINODE_COV=1 ./node_modules/.bin/_mocha --reporter html-cov -t test/*-test.js > coverage.html
+ rm -rf lib-cov
ready: jshint complexity test
.PHONY: test report
Please sign in to comment.
Something went wrong with that request. Please try again.