You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should implement a trait KotlinxKoverModule in kotlinlib/ that can be mixed in to any KotlinModule and provide KotlinxKoverTests that enable code coverage support, unit tests, and an example test folder that can be included in the documentation demonstrating its usage
The text was updated successfully, but these errors were encountered:
This PR adds Kover support declared in #3610.
Overall functionality is similar to what `ScoverageModule` and
https://github.com/lefou/mill-jacoco are doing:
* Each test run gets instrumented by Kover and binary report is
generated (this requires mixing in `KoverTests` trait)
* There is a possibility to generate HTML/XML report out of it using
`__.kover.htmlReport` / `__.kover.xmlReport` respectively on each module
having `KoverModule` mixed in.
* Also there is a possibility to declare module implementing
`KoverReportModule` trait and use `htmlReportAll` / `xmlReportAll` tasks
to collect coverage for all modules in the project.
Kover Agent documentation:
https://kotlin.github.io/kotlinx-kover/jvm-agent
Kover Reporter documentation:
https://kotlin.github.io/kotlinx-kover/cli/
---------
Co-authored-by: 0xnm <0xnm@users.noreply.github.com>
From the maintainer Li Haoyi: I'm putting a 500USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
The goal of this ticket is to add
example/kotlinlib/linting/3-kotlinx-kover
example tests for using https://github.com/Kotlin/kotlinx-kover to instrument aKotlinModule
's tests with code coverage tracking, in the spirit ofexample/scalalib/linting/2-contrib-scoverage
or https://github.com/lefou/mill-jacoco.It should implement a
trait KotlinxKoverModule
inkotlinlib/
that can be mixed in to anyKotlinModule
and provideKotlinxKoverTests
that enable code coverage support, unit tests, and an example test folder that can be included in the documentation demonstrating its usageThe text was updated successfully, but these errors were encountered: