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

Issues changing the value of an element in an array in matlab -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

vb.net - Alternative to the T-SQL AS keyword -