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

A class is not included in the test coverage report if it is written in a separate file on one line.

Open DomainName97 opened this issue 1 year ago • 3 comments

Describe the bug Same test suite, but different instruction coverage measurements exist

Expected behavior Сoverage measurements should be equal

Reproducer When a class written in a separate file on one line, it is not included in test coverage. But if you write it in several lines, it will be included in the test coverage report.

Reports Снимок экрана 2024-09-17 в 13 43 37

Снимок экрана 2024-09-17 в 13 43 15

Environment

  • Kover Gradle Plugin version: 0.8.3
  • Gradle version: 8.6
  • Kotlin project type: Kotlin/Android
  • Coverage Toolset (if customized in build script): Kover

DomainName97 avatar Sep 17 '24 10:09 DomainName97