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

Code coverage is incorrect #113

Closed
JavierSegoviaCordoba opened this issue Jan 3, 2022 · 1 comment · Fixed by #126
Closed

Code coverage is incorrect #113

JavierSegoviaCordoba opened this issue Jan 3, 2022 · 1 comment · Fixed by #126
Labels
Bug Bug issue type

Comments

@JavierSegoviaCordoba
Copy link

JavierSegoviaCordoba commented Jan 3, 2022

This project should have Collections.kt and Strings.kt partially/totally covered but Kover is having a few weird behaviors.

Checking the HTML files, not sure if XML ones are correct.

  • At the start, in Windows machine, Strings.kt had 0% and Collections.kt had 100%. I did a --rerun-tasks plus --no-build-cache and now Strings.kt is covered but Collections.kt has no percentage.
  • In macOS I am having the same behavior as the second one in the Windows machine. The project didn't exist in the machine, it was a new clone.
  • In CI (macOS + Ubuntu + Windows) I am getting what I think is the correct behavior, both, Strings.kt and Collections.kt being covered. All code coverage reports can be downloaded at the end of this link.
@shanshin shanshin added the Bug Bug issue type label Jan 19, 2022
shanshin added a commit that referenced this issue Jan 20, 2022
shanshin added a commit that referenced this issue Jan 31, 2022
@shanshin
Copy link
Collaborator

shanshin commented Feb 1, 2022

Fixed in 0.5.0

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

Successfully merging a pull request may close this issue.

2 participants