Open
Description
I have a project with three targets (among others):
java_library(...)
scala_library(...)
scala_test(...)
Where the scala_library depends on the java_library and the scala_test depends on scala_library. If I run code coverage with this setup, if will execute that only for the java_library and scala code coverage won't be executed.
If I remove the java_library target, then everything works ok.
There is one solution I found: add "--instrumentation_filter=//*:scala_library" as a parameter when running coverage.
Is there any better way to fix this problem?