I have not used Kover on Compose Desktop (CD) code...
# code-coverage
p
I have not used Kover on Compose Desktop (CD) code yet. My best guess is that CD is not handled well by Kover or any other coverage tool. Any experiences that refute my guess? If my guess is a good one, that leaves me to rely on using TDD faithfully, something I find very difficult to do with UI code, hence my reliance on coverage reports as a backstop.
c
Why would it not be handled well?
s
Desktop is JVM so it ends up in the total report. However we had to turn it off since the test fails on Linux CI even though it passed on macOs
p
@CLOVIS fwiw, the last time I tried both Jacoco and Kover on Jetpack Compose the results were nonsensical because neither tool could grok the compose compiler. If you have different results, please do tell. That would be well received news.