mocha-coverage-scan
v1.7.0
Published
a simple reporter who looks for projects that have testing files with mocha keywords and generate some insights
Downloads
43
Maintainers
Readme
mocha-coverage-scan
A simple reporter who looks for projects that have testing files with mocha keywords and generate some insights (in a static way)
Installation
Install mocha-coverage-scan
:
npm install mocha-coverage-scan --save-dev
Usage
Just call from the command-line (at the first moment passing absolute path of your mocha tests root folder)
npx mocha-coverage-scan --dir=/dir/for/your/mocha/tests/folder
Then the expected output should be like this:
You can also output the test scenarios in details to execute them manually adding --output-csv argument, like this:
npx mocha-coverage-scan --dir=/dir/for/your/mocha/tests/folder --output-csv