Interested to find code coverage tools for kotlin that work well in a CI pipeline. use intellij built in code coverage but cant use this in CI. Thanks
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The Jacoco plugin works fine for coverage of Kotlin code. Configure Jacoco the same as you would for Java.
https://docs.gradle.org/current/userguide/jacoco_plugin.html