0.4.2 • Published 5 years ago
coverage-viewer v0.4.2
Coverage Viewer
Turn your code coverage output into a website for exploring your project's coverage statistics more easily:
Installation
npm i -g coverage-viewer
Usage
Currently only tested with C# coverlet JSON output.
CLI Usage:
Usage: coverage-viewer <coverageFile> [options]
Options:
-s The root of your project's source code directory [required]
-o Where coverage-viewer should write output
-u, --up Whether to start the express viewing server [boolean]
-v, --version Show version number [boolean]
-h, --help Show help [boolean]
Examples:
coverage-viewer coverage.json -s ./src -o ./coverage
Using the -u
or --up
flags, you can run an express app to view the output, and automatically re-run the generator if the coverage file changes.
coverage-viewer coverage.json -s ./src -o ./coverage --up
Alternatively, once you've generated the output, serve it with your preferred server:
npm i -g httpserver
cd coverage
httpserver
License
MIT © Forrest Desjardins
0.4.2
5 years ago
0.4.1
6 years ago
0.4.0
6 years ago
0.3.0
6 years ago
0.2.10
7 years ago
0.2.9
7 years ago
0.2.8
7 years ago
0.2.7
7 years ago
0.2.6
7 years ago
0.2.5
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago