-
Notifications
You must be signed in to change notification settings - Fork 55
Closed as not planned
Closed as not planned
Copy link
Labels
BugBug issue typeBug issue typeS: untriagedStatus: issue reported but unprocessedStatus: issue reported but unprocessed
Description
Describe the bug
I can not exclue my functions which were annotated by @Preview (androidx.compose.desktop.ui.tooling.preview.Preview) in my KMP project.
@Preview
@composable
@KoverIgnore
private fun Preview() {
AppTheme {
.........
kover {
reports {
verify {
rule {
minBound(80) //80% minimum coverage
}
}
filters {
excludes {
// Entire Points
classes("MainKt") // Desktop
classes("*.MainActivity") // Android
// Generated Classes and Resources
classes("*.generated.*")
// Dependency Injection
classes("*.di.*")
// Compose Related (UI)
classes("*ComposableSingletons*")
annotatedBy(
"androidx.compose.desktop.ui.tooling.preview.Preview",
"KoverIgnore"
)
}
}
}
}
Environment
- Kover Gradle Plugin version: 0.9.1
- Gradle version: 8.10.2
- Kotlin project type: Multiplatform
- Coverage Toolset: Kover
balachandarlinks
Metadata
Metadata
Assignees
Labels
BugBug issue typeBug issue typeS: untriagedStatus: issue reported but unprocessedStatus: issue reported but unprocessed