Skip to main content

A simple .coverage to LCOV converter

Project description

coverage-lcov

coverage-lcov is a simple CLI for converting .coverage files generated by Coverage.py to the LCOV format.

Credits

Installation

Using pip:

pip install coverage-lcov

Usage

# 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

Options

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.

Further reading

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coverage-lcov-0.2.4.tar.gz (7.7 kB view hashes)

Uploaded source

Built Distribution

coverage_lcov-0.2.4-py3-none-any.whl (8.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page