You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
ItSNeverLate
changed the title
Excluding function which annotated bt @Previrw
Excluding function which annotated by @Previrw from code coverage
Feb 27, 2025
Hi, please provide the list of classes above Preview function
ItSNeverLate
changed the title
Excluding function which annotated by @Previrw from code coverage
Wrong code coverage percentage when we have Preview function in our class
Feb 27, 2025
sorry: my problem is i have a class with two functions. and preview function is ignored and it is not listed in the class functions anymore. but the class code coverage is still 50%
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
}
Environment
The text was updated successfully, but these errors were encountered: