Permalink
Browse files

NEW: Add subcommand to analyse the test coverage.

  • Loading branch information...
1 parent fa73e4c commit 3ed3c2cf7ab26f686df5d2c5d9061f13ac710078 @lbdremy committed Feb 18, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 Makefile
View
@@ -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
+coverage:
+ 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

0 comments on commit 3ed3c2c

Please sign in to comment.