Kover – The Code Coverage Plugin

preview_player
Показать описание

Static analysis is only one way of ensuring your code quality. Another way of ensuring it is by creating an extensive test suite for your project. But many of you know about one problem with testing in Kotlin that existed since the first release. It’s been a challenge to measure the code coverage precisely. There are some great tools like JaCoCo that work with Kotlin code, but they are not integrated well with our Gradle toolchain and multiplatform projects. In this Kotlin release we’re starting to fix this issue.

In this video, we present you Kover – our new Gradle plugin that measures code coverage for Kotlin code built with Kotlin/JVM compiler. We'll go over its main features and explain how to set it up in your project, so you won't have problems with coverage any more.

Kotlin 2021 Premier Online Event schedule:

October 21, 16:00 CEST | 10:00 EDT

October 23, 16:00 CEST | 10:00 EDT

October 26, 16:00 CEST | 10:00 EDT

October 28, 16:00 CEST | 10:00 EDT

Kotlin Symbol Processors -
October 30, 16:00 CEST | 10:00 EDT

November 2, 16:00 CET | 11:00 EDT

November 4, 16:00 CET | 11:00 EDT

November 6, 16:00 CET | 11:00 EDT

During production of our recorded presentations we followed all applicable public health and safety recommendations to protect our staff from possible transmission of COVID-19.

#kotlinEvent21 #Kotlin #Kover #Testing
Рекомендации по теме
Комментарии
Автор

Looks great! Looking forward to trying this, it looks like it resolves a lot of the issues we had with plain Jacoco

nathanglevy
Автор

Looks very promising. I have waited for this! :)

CommanderSteps
Автор

Very interesting. Looking forward to compare plain Jacoco with new plugin.

Poisonedyouth
Автор

Since I have enabled the plugin, about 10% of my tests were failed, when I started "test with Coverage"

nodserj
Автор

Does Kover handle the hidden kotlin null checks conditional branches? This is why it's impossible to get to 100% with jacoco.

kenyee
Автор

Man, this is _not_ ready for Android development yet. Well, I did my due diligence and created 3 issues about this: #76, #77 and #78.
- edit: well that's fast. 2 of these are actually already fixed and it's now actually usable now.

CristanMeijer
Автор

Maybe have a glass of water handy next time! He seems thirsty!

ChrisAthanas
Автор

Looks interesting, is this compatible with android projects?

Goldy