This library will be archived soon and future use should be through coverage lcov
. See #17 for details and feedback.
coverage-lcov
is a simple CLI for converting .coverage
files generated by Coverage.py to the LCOV
format.
- This tools is based on code from Coverage.py
- This tool is forked from coveragepy-lcov by Chay Choong to add support for older python versions.
Using pip:
pip install coverage-lcov
# If the .coverage file is in your current working directory
coverage-lcov
# Point to a different .coverage file path
coverage-lcov --data_file_path example/.coverage
# Write the output to a different file path
coverage-lcov --output_file_path build/lcov.info
# Use relative paths in the LCOV output
coverage-lcov --relative_path
Usage: coverage-lcov [OPTIONS]
Options:
--data_file_path TEXT Path to .coverage file
--output_file_path TEXT lcov.info output file path
--config_file TEXT Path to .coveragerc file
--relative_path Use relative path in LCOV output
--preview Preview LCOV output
--help Show this message and exit.