

The setup to add the plugin to you project can hardly be simpler if you use gradle. Let's give Kover a spin and see what we can do with it! For this experiment, I'll be using the Kotlin flavor of the very famous Spring Pet Clinic.

Well Kover is fully compatible with the JaCoCo format so you can keep making full use of those, and even couple them in case you have multiple projects in different JVM languages. If you're a JVM developer, you're probably used to those HTML/XML report files so you usually feed into a system like SonarQube or CodeCov to track metrics over time. It is still in incubator phase, but we'll see here that it already has quite some value for your Kotlin projects! Kover is a Gradle plugin for native Kotlin code coverage. Today, we're looking into one of them : Kover.
#Intellij code coverage update
To download this version, visit our website, update your version using the ToolBox App or from inside the IDE, or use snaps if you are an Ubuntu user.IntelliJ IDEA 2020.3. You can see my experiment over here.Ī couple weeks back, the version 1.6.0 of Kotlin was officially released! The release was packed with new language features, but also some very nice tooling and ecosystem goodies. We’ve just released IntelliJ IDEA 2021.2.4 with several valuable fixes. It's still in incubator phase but I took it for a spin and it is already very useful as part of local or CI workflows! In this article I go through the setup and some of my favourite goodies of the tool.

Emma is an open source code coverage tool for Java. IntelliJ IDEA both has its own code coverage engine, and it can use Emma. TL DR : Kover is a code coverage tool for Kotlin. IntelliJ IDEA has built-in code coverage from version 7.0.
