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:

  1. run jscoverage command on directory (or directories) house code
  2. provide mechanism (such environment variable) make choice when include module include correct version of code
  3. when want code coverage statistics, set environment variable accordingly

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -