Is there a way to configure Jacoco (code coverage)...
# coroutines
l
Is there a way to configure Jacoco (code coverage) to ignore Kotlin coroutines generated code?
g
No such tool for now Check this topic https://youtrack.jetbrains.com/issue/KT-18383
Probably make sense to add case with coroutines there
e
jacoco at 0.8.2-SNAPSHOT add filtering of kotlin auto generated code, but I don’t now, will it worked with coroutines or not see issue: https://github.com/jacoco/jacoco/issues/552
g
No, looks like those changes of jacoco do not cover coroutines:
There're also problems with coroutines feature (there're uncovered branches in coroutines), but there would be an additional investigation, because coroutines are not finalized feature in Kotlin.