kotlinx-kover icon indicating copy to clipboard operation
kotlinx-kover copied to clipboard

Add a report filter by parent class or interface

Open shanshin opened this issue 1 year ago • 1 comments

In some cases, it is convenient to exclude from the report all classes inherited from one parent, or implementing a specific interface. This is more convenient than annotating several classes located in different packages, but inherited from the same parent.

A new filter type should be added to the DSL:

koverReport {
    filters {
        excludes {
            inheritedFrom("foo.ParentClass", "foo.Interface")
        }        
    }
}

The possibility of this filtering should be added to intellij-reporter.

shanshin avatar Aug 18 '23 14:08 shanshin

https://youtrack.jetbrains.com/issue/IDEA-338719

zuevmaxim avatar Nov 21 '23 15:11 zuevmaxim

Implemented in 0.8.0

shanshin avatar May 15 '24 23:05 shanshin