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
What is your use-case and why do you need this feature?
In the Kotlin compiler, there are a lot of tests which consider all the fields of a generated class, e.g. here, and because they use classfile version 52 (Java 8), the coverage agent adds a field to the class which breaks the test:
Fail: lambda should only capture 's': [final java.lang.String A$f$1.$s, private static transient boolean[] A$f$1.__$hits$__]
Describe the solution you'd like
Ideally I would be able to whitelist the specific compiler classes I am interested in instead of having to blacklist the offending test classes.
Something like:
What is your use-case and why do you need this feature?
In the Kotlin compiler, there are a lot of tests which consider all the fields of a generated class, e.g. here, and because they use classfile version 52 (Java 8), the coverage agent adds a field to the class which breaks the test:
Describe the solution you'd like
Ideally I would be able to whitelist the specific compiler classes I am interested in instead of having to blacklist the offending test classes.
Something like:
kover { currentProject { instrumentation { includedClasses.add("org.jetbrains.kotlin.fir.*") } } }
to match the existing
excludedClasses
option.The text was updated successfully, but these errors were encountered: