node.js - Nodeunit - JSCovrage -
there way use jscoverage have code coverage nodeunit?
i know there nodeunit2
, code not in lib, , not want restructure project.
sure... follow steps in this example.
the key elements being:
- run
jscoverage
command on directory (or directories) house code - provide mechanism (such environment variable) make choice when include module include correct version of code
- when want code coverage statistics, set environment variable accordingly
Comments
Post a Comment