V
V
Valeriy Solovyov2015-07-07 11:53:24
Jenkins
Valeriy Solovyov, 2015-07-07 11:53:24

How to make a python coverage report?

Hello everyone,
I want to know the code coverage with tests. The tests themselves are in the tests folder, and the code is in the api folder.
I make a pylint-compatible report like this:
pep8 --repeat --ignore=E501,W391 ${SRC_VENV_PATH}/| perl -ple 's/: ([WE]\d+)/: [$1]/' > ${REPORTS_PATH}/pylint.report
or
prospector--zero-exit --output-format pylint ${SRC_VENV_PATH} > ${ REPORTS_PATH}/pylint.report
But I can't figure out how to make a coating

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question