kotlinx-kover
kotlinx-kover copied to clipboard
Multiline assertFailsWith marks as uncovered
In 0.6.1 with ./gradlew koverMergedXmlReport uploaded to codecov:
https://app.codecov.io/github/korlibs/korge/blob/31ceb8d90c8adf02931e410d385f704e513d56b4/kds/src/commonTest/kotlin/com/soywiz/kds/QueueTest.kt

Also I'm getting some strange partial here in the same file:

Hi, at the moment, correct integration with codecov is not guaranteed.
Could you please show the Kover HTML report? How different is it from codecov.
@shanshin

You should be able to reproduce this report with:
git clone https://github.com/korlibs/korge.git
git checkout 3b7f877eb1fb3be09e9669453a86eb75c1b3df23
./gradlew :kds:koverHtmlReport
List.isNotEmpty partial coverage is fixed in agent version 1.0.688
As for assertFailesWith, this issue is caused by insufficient support of @InlineOnly functions in the coverage agent
Nice! Confirmed that List.isNotEmpty thing is fixed:

Related issue about InlineOnly functions https://youtrack.jetbrains.com/issue/KT-55381
Fixed since 0.8.0