Skip to content

Commit c54fb0b

Browse files
committed
Update Kover percentage
1 parent d065149 commit c54fb0b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

buildSrc/src/main/kotlin/kover-conventions.gradle.kts

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ val expectedCoverage = mutableMapOf(
1313
"kotlinx-coroutines-swing" to 70, // awaitFrame is not tested
1414
"kotlinx-coroutines-javafx" to 39, // JavaFx is not tested on TC because its graphic subsystem cannot be initialized in headless mode
1515

16-
// Re-evaluate this along with Kover update where deprecated with error+ functions are not considered as uncovered: IDEA-287459
17-
"kotlinx-coroutines-reactor" to 65,
18-
"kotlinx-coroutines-rx2" to 83
19-
)
16+
// Reactor has lower coverage in general due to various fatal error handling features
17+
"kotlinx-coroutines-reactor" to 80)
2018

2119
extensions.configure<KoverExtension> {
2220
disabledProjects = notCovered
@@ -28,6 +26,8 @@ extensions.configure<KoverExtension> {
2826
* ./gradlew :p:koverReport -Pkover.enabled=true -- generates report
2927
*/
3028
isDisabled = !(properties["kover.enabled"]?.toString()?.toBoolean() ?: false)
29+
// TODO remove when updating Kover to version 0.5.x
30+
intellijEngineVersion.set("1.0.657")
3131
}
3232

3333
subprojects {

reactive/kotlinx-coroutines-reactor/build.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ externalDocumentationLink(
2929
)
3030

3131
val commonKoverExcludes = listOf(
32-
"kotlinx.coroutines.reactor.FlowKt" // Deprecated
32+
"kotlinx.coroutines.reactor.FlowKt", // Deprecated
33+
"kotlinx.coroutines.reactor.ConvertKt\$asFlux$1" // Deprecated
3334
)
3435

3536
tasks.koverHtmlReport {

0 commit comments

Comments
 (0)