-
Notifications
You must be signed in to change notification settings - Fork 54
Description
Description :
I am trying to exclude Room @dao interfaces from my Kover reports using the annotatedBy filter.
However, these interfaces still appear in the HTML reports with 0% coverage, even though I expect them to be excluded.
It seems that annotatedBy("androidx.room.Dao") does not work somehow.
This results in @dao interfaces always being included in the coverage report, even when explicitly configured to be excluded.
I also tried introducing my own custom annotation with Retention.BINARY, but it still fails to exclude the class.
@Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.BINARY) public annotation class KoverCoverageExclude
Tried this annotation to apply on dao class and then filter this with annotatedBy.
Still nothing works for me.
Expected Behavior
All classes or interfaces annotated with @dao or @KoverCoverageExclude should be excluded from the Kover report when using annotatedBy.