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 missing expected lines in code coverage #269

Conversation

slheavner
Copy link

fixes >100% coverage reporting

  • add all getFuncCallText to coverageMap recording
  • format expectedCoverageMap keys as key:value objects instead of arrays to match reporting format

Note: this doesn't add full branch tracking, but at least stops the incorrect percentage stats

fixes >100% coverage reporting

- add all `getFuncCallText` to coverageMap recording
- format `expectedCoverageMap` keys as key:value objects instead of
  arrays to match reporting

Note: this doesn't add full branch tracking, but at least stops the
incorrect percentage stats
@chrisdp
Copy link
Collaborator

chrisdp commented Feb 10, 2024

Opened #271 with your changes and some extra sample code to validate it in the test app.

@chrisdp
Copy link
Collaborator

chrisdp commented Feb 10, 2024

Closing in favor of #271. Commits here are pulled into that PR.

@chrisdp chrisdp closed this Feb 10, 2024
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.

2 participants