The Kotlin functions marked with the inline are, firstly, built-in at compile time, and it seems that code coverage tools (like JaCoCo) do not allow you to correctly calculate code coverage. What is the usual approach to overcome this problem? Is there a way to make the test somehow avoid the nesting step and directly call the tested methods? Is it possible to skip the report generation of all built-in methods (for example, using the Gradle task) without excluding entire classes?
testing code-coverage kotlin gradle jacoco
JustACluelessNewbie
source share