-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the current functionality of Kover Gradle Plugin to Kotlin Gradle Plugin #724
Labels
Comments
shanshin
added
Feature
Feature request issue type
S: untriaged
Status: issue reported but unprocessed
labels
Jan 3, 2025
This was referenced Jan 3, 2025
Closed
This was referenced Jan 3, 2025
shanshin
added
Implement in KGP
and removed
S: untriaged
Status: issue reported but unprocessed
Feature
Feature request issue type
labels
Jan 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From now on, we will begin integrating the Kotlin Coverage into the Kotlin Gradle Plugin.
This is a task to implement the ideas mentioned in #608.
Motivation remains, but the implementation steps have been slightly modified.
Motivation
Disadvantages of the current approach:
kover
dependency when aimplementation
dependency has already been declared - this complicates the configuration for builds with a large number of subprojectsContinued development of the current separate Kover Gradle Plugin
There will be no new features, changes, or improvements to Gradle DSL.
The only feature that will be added to Kover Gradle Plugin is the integration with Android Gradle Plugin.
Incompatibility bugs with future versions of Gradle will also be fixed until Coverage in Kotlin Gradle Plugin becomes stable.
Migration steps
Phase 1
Phase 2
Phase 3
Phase 4
Phase 5
Open issues analysis
The bugs and suggestions listed below should be taken into account in Kotlin Coverage for Kotlin Gradle Plugin (or Maven)
Kotlin-specific Coverage Report
It is necessary to develop a report that will allow exporting information about code coverage.
This report should contain complete information that will be sufficient to transfer to external utilities, merge with each other, and convert to other universal formats.
Reports filtering
Kotlin Coverage HTML Report
External report formats
Integration with external tools
Integration with external tools will be performed after initial stabilization of DSL for Kotlin Coverge in KGP
IDE
Instrumentation
Gradle
Functional tests
Functional tests should be easy to read, and error messages should help you understand the root cause of the error.
Different versions of Gradle should be checked, as well as possibly different versions of Android.
Compiler plugin
require
#250The text was updated successfully, but these errors were encountered: