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

Kover reports zero method coverage with CoroutineExceptionHandler #669

Open
JordanLongstaff opened this issue Aug 7, 2024 · 0 comments
Open
Assignees
Labels
Bug Bug issue type S: confirmed Status: bug is reproduced or present

Comments

@JordanLongstaff
Copy link

JordanLongstaff commented Aug 7, 2024

Describe the bug
I have created two instances of CoroutineExceptionHandler, both of which are reported as 0% (0/2) covered under method coverage.

Expected behavior
They should be fully covered. See the Reports section.

Reproducer
Link to my project here.

Reports
Here, you can see the two methods reporting as 0% covered under method coverage:
Screen Shot 2024-08-07 at 6 01 07 PM

Yet, as this screenshot shows, all the lines are green indicating full coverage:
Screen Shot 2024-08-07 at 6 01 45 PM

Environment

  • Kover Gradle Plugin version: 0.8.3
  • Gradle version: 8.7
  • Kotlin project type: Kotlin/Android
  • Coverage Toolset (if customized in build script): Kover
@JordanLongstaff JordanLongstaff added Bug Bug issue type S: untriaged Status: issue reported but unprocessed labels Aug 7, 2024
@shanshin shanshin added S: confirmed Status: bug is reproduced or present and removed S: untriaged Status: issue reported but unprocessed labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug issue type S: confirmed Status: bug is reproduced or present
Projects
None yet
Development

No branches or pull requests

2 participants