For Jacoco code coverage, has anyone come up with ...
# test
k
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
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
wait jacoco 0.8.2, it will improve kotlin coverage by ignoring auto generated methods