Skip to content

CZ-NIC/json-python-coverage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-python-coverage

https://travis-ci.org/CZ-NIC/json-python-coverage.svg?branch=master

JavaScript tool for converting json coverage report to format used by Python coverage.

Installation

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

Usage

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]

Tests

All modules (anything other than index.js) should include unit tests. Tests are written using jest.

To run tests in terminal:

npm run test

About

JavaScript tool for converting json coverage report to format used by Python coverage.

Resources

License

Stars

Watchers

Forks

Packages

No packages published