JavaScript tool for converting json coverage report to format used by Python coverage.
This package is indetended to be installed globally, so that it can be easily executed via CLI.
npm i -g @cz-nic/json-python-coverage
json-python-coverage <json_filename>
Positionals: | ||
---|---|---|
json_filename | path to coverage-summary.json | [string] |
Options: | ||
--version | Show version number | [boolean] |
--fail, -f | coverage fail threshold | [number] [default: 0] |
--regex, -r | path regex for reported files | [string] [default: ""] |
-h, --help | Show help | [boolean] |
All modules (anything other than index.js) should include unit tests. Tests are written using jest.
To run tests in terminal:
npm run test