Join Slack
Powered by
For Jacoco code coverage, has anyone come up with ...
# test
k
Katie Levy
06/07/2018, 4:25 PM
For Jacoco code coverage, has anyone come up with a work-around to ignore the auto-generated methods created from kotlin data classes (ie. getters/setters/equals/hashcode/toString)?
➕ 2
c
codyoss
06/07/2018, 8:00 PM
I have not used it, but this is a thing.
https://github.com/fabianishere/kotlin-plugin-generated
. It seems a bit hacky, but would work. For reasons why this is a hard problem give this thread a read:
https://github.com/jacoco/jacoco/issues/552
👍 1
e
Evgeniy Zaharov
06/08/2018, 7:43 AM
wait jacoco 0.8.2, it will improve kotlin coverage by ignoring auto generated methods
Evgeniy Zaharov
06/08/2018, 7:43 AM
https://github.com/jacoco/jacoco/issues/552
9
Views
Open in Slack
Previous
Next