0.4.2 • Published 4 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
4 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.0
5 years ago
0.2.10
5 years ago
0.2.9
6 years ago
0.2.8
6 years ago
0.2.7
6 years ago
0.2.6
6 years ago
0.2.5
6 years ago
0.2.4
6 years ago
0.2.3
6 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago