kotlinx-kover icon indicating copy to clipboard operation
kotlinx-kover copied to clipboard

Kover reports zero method coverage with CoroutineExceptionHandler

Open JordanLongstaff opened this issue 1 year ago • 0 comments

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 avatar Aug 07 '24 22:08 JordanLongstaff