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

Fix double counting of lines in test coverage reports #4710

Merged
merged 7 commits into from
Oct 31, 2023

Conversation

Dargones
Copy link
Collaborator

Description

Fixes #4676

How has this been tested?

I added a test to DafnyTestGeneration.Test that makes sure no line is double-counted in coverage reports even if the line corresponds to several blocks in the underlying Boogie representation or is being inlined from a helper function.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@atomb atomb enabled auto-merge (squash) October 31, 2023 00:20
@atomb atomb merged commit af3f474 into dafny-lang:master Oct 31, 2023
20 checks passed
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.

Coverage metrics are incorrect
2 participants