Exclude some class from State coverage check
> Rule 'Check code coverage of states' violated:
instructions covered percentage for class 'io.element.android.libraries.mediaviewer.impl.local.player.MediaPlayerControllerState' is 0.000000, but expected minimum is 90
instructions covered percentage for class 'io.element.android.libraries.textcomposer.components.FormattingOptionState' is 0.000000, but expected minimum is 90
This commit is contained in:
parent
5456f0e38e
commit
ad33151968
1 changed files with 2 additions and 1 deletions
|
|
@ -54,7 +54,6 @@ fun Project.setupKover() {
|
|||
description = "Verifies the code coverage of all subprojects."
|
||||
val dependencies = listOf(":app:koverVerifyGplayDebug") + koverVariants.map { ":app:koverVerify${it.replaceFirstChar(Char::titlecase)}" }
|
||||
dependsOn(dependencies)
|
||||
|
||||
}
|
||||
// https://kotlin.github.io/kotlinx-kover/
|
||||
// Run `./gradlew :app:koverHtmlReport` to get report at ./app/build/reports/kover
|
||||
|
|
@ -180,7 +179,9 @@ fun Project.setupKover() {
|
|||
"io.element.android.libraries.matrix.api.timeline.item.event.OtherState$*",
|
||||
"io.element.android.libraries.matrix.api.timeline.item.event.LocalEventSendState*",
|
||||
"io.element.android.libraries.mediaviewer.impl.local.pdf.PdfViewerState",
|
||||
"io.element.android.libraries.mediaviewer.impl.local.player.MediaPlayerControllerState",
|
||||
"io.element.android.libraries.textcomposer.model.TextEditorState",
|
||||
"io.element.android.libraries.textcomposer.components.FormattingOptionState",
|
||||
)
|
||||
includes.classes("*State")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue