Skip to content
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

Check for coverage on all branches #1309

Open
bhazelton opened this issue Jun 23, 2023 · 0 comments
Open

Check for coverage on all branches #1309

bhazelton opened this issue Jun 23, 2023 · 0 comments

Comments

@bhazelton
Copy link
Member

Do this by setting branch = true in the run section of .coveragerc. Without this we aren't testing all branches of an if statement, which can be particularly problematic for inline if statements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant