Skip to content

Make branch coverage accessible via the API #1898

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

Closed
wants to merge 1 commit into from

Conversation

eleanorjboyd
Copy link

fixes #1888

one edit from above proposal is I exposed branch_stats from the Analysis class as it has the (total_exits, taken_exits) which is the info needed and is already public.

another note is Im not entirely sure how to test / view the changes to the .rst files for https://coverage.readthedocs.io/ so any advice here would be appreciated. Thanks!

@nedbat
Copy link
Owner

nedbat commented Dec 1, 2024

@eleanorjboyd Sorry I haven't gotten to this. I'm pondering whether there's anything in Analysis I wouldn't want to make public. I can take care of checking the .rst changes.

@nedbat
Copy link
Owner

nedbat commented Mar 16, 2025

Commit 33f12df has Coverage.branch_stats().

@nedbat nedbat closed this Mar 16, 2025
@eleanorjboyd
Copy link
Author

Hi @nedbat- super excited thank you! I blocked off time this upcoming month to implement this- so hopefully I can get it in quick! Will keep you in the loop as I implement and release!

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.

Adding Branch Coverage to API
2 participants