Skip to content
This repository

Code coverage tool, Flag stats_coverage #26

Closed
azproduction opened this Issue · 2 comments

1 participant

Mikhail Davydov
Mikhail Davydov
Owner

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

Mikhail Davydov
Owner
  1. Coverage for async modules
  2. Should warn if package with flag coverage uses cache or cache_async
Mikhail Davydov
Owner
  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
Something went wrong with that request. Please try again.