Code coverage tool, Flag stats_coverage #26

Closed
azproduction opened this Issue Jun 13, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Owner

azproduction commented Jun 13, 2012

Create coverage tool based on UglifyJS parser and node-coverage https://github.com/piuccio/node-coverage

Owner

azproduction commented Jun 13, 2012

  1. Coverage for async modules
  2. Should warn if package with flag coverage uses cache or cache_async
Owner

azproduction commented Jun 17, 2012

  1. require.coverage() is useless thing in code so no reason to create coverage() function
  2. require.stats() should provide coverage info if stats_coverage enabled
  3. Client must calculate coverage % of statements, functions and conditions
  4. Stats server should store stats report as is (all calculations on the client)
  5. Should be a quick way to push stats to stats server -> require.stats.sendTo('http://ho.st:8080/') Flag sendto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment