Inline functions coverage

Hi !

Do you plan to support code coverage for inline functions? Please see youtrack bug - https://youtrack.jetbrains.com/issue/KT-12605

There are several ways, how to implement this (save info about inline functions into build folder, which can be used by code coverage tool; add JVM-invisible markers before and after inlining; etc.)

1 Like

Yes, we do plan to support this, but it’s not on our near-term roadmap at this time. We already preserve all necessary information about inline functions in .class files; the only thing to do is to make use of this information while calculating coverage.

1 Like

Was this ever added?

Yes, it works for me (TeamCity from 2018 or newer, no idea about other tooling).