anacierdem / vscode-requirejs

Provides goto definition functionality for require js modules.
MIT License
21 stars 14 forks source link

Introduce code coverage #36

Closed michaelw85 closed 7 years ago

michaelw85 commented 7 years ago

Introduce istanbul + new test runner to work with vscode test setup. Add travis step to publish codecoverage to codecov. Add badge to readme to show coverage.

@anacierdem If you like the idea of showing code coverage in the readme using a badge + being able to see history please go to https://codecov.io and update the badge to match your account. If you don't want to please let me know and I will remove the build steps + badge from the pr.

michaelw85 commented 7 years ago

An example of codecov: https://codecov.io/gh/michaelw85/vscode-requirejs/branch/add_code_coverage

codecov-io commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@509ac08). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #36   +/-   ##
=========================================
  Coverage          ?   46.29%           
=========================================
  Files             ?        1           
  Lines             ?      216           
  Branches          ?       46           
=========================================
  Hits              ?      100           
  Misses            ?      116           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 509ac08...93d7909. Read the comment docs.