Skip to content

Add exact line coverage report #2057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2016
Merged

Conversation

ddfisher
Copy link
Collaborator

The output is intended to be fed into coverage.py, the Python code
coverage tool.

Rebased version of #1704.

The output is intended to be fed into coverage.py, the Python code
coverage tool.
@gvanrossum
Copy link
Member

I'd like to play with this before merging, but I fail to understand how the coverage.json file you produce should be fed into coverage.py.

@gvanrossum
Copy link
Member

Never mind, I figured it out:

(echo -n "!coverage.py: This is a private format, don't read it directly!"; cat coverage.json) > .coverage
coverage html

@gvanrossum gvanrossum merged commit 7ab19c1 into master Aug 28, 2016
@gvanrossum gvanrossum deleted the updated-linecoverage-report branch August 28, 2016 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants