Code coverage tool, Flag stats_coverage #26

azproduction opened this Issue Jun 13, 2012 · 2 comments


None yet
1 participant

azproduction commented Jun 13, 2012

Create coverage tool based on UglifyJS parser and node-coverage


azproduction commented Jun 13, 2012

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

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('') Flag sendto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment