Skip to content
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

Implemented aggregate reports #90

Merged
merged 8 commits into from
Dec 22, 2021
Merged

Implemented aggregate reports #90

merged 8 commits into from
Dec 22, 2021

Conversation

shanshin
Copy link
Collaborator

@shanshin shanshin commented Dec 9, 2021

Resolves #20, #43

@christian-draeger
Copy link

Great news :) was waiting for this actual feature so much.
When it will be released?
Is it possible to test / use it even before official release?

Copy link
Member

@sandwwraith sandwwraith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's rather list of questions than an actual review, but we have to start from something


internal const val DEFAULT_XML = "reports/kover/report.xml"
internal const val DEFAULT_HTML = "reports/kover/html"
internal fun defaultXmlReport() = "reports/kover/report.xml"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why these are functions, not vals?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done because at the moment there is no certainty that additional parameters will not be needed to get the default value (for example, as in the case of defaultBinaryReport). So it turns out the general style that getting all the values is a functions, and not a mixture of val and fun.

However, I do not insist on such a decision, if val is perceived better, I can change it.

src/main/kotlin/kotlinx/kover/KoverPlugin.kt Show resolved Hide resolved
src/main/kotlin/kotlinx/kover/KoverPlugin.kt Outdated Show resolved Hide resolved
src/main/kotlin/kotlinx/kover/tasks/KoverXmlReport.kt Outdated Show resolved Hide resolved
src/main/kotlin/kotlinx/kover/tasks/KoverVerification.kt Outdated Show resolved Hide resolved
@shanshin shanshin requested a review from sandwwraith December 16, 2021 15:51
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/main/kotlin/kotlinx/kover/KoverPlugin.kt Outdated Show resolved Hide resolved
@shanshin shanshin merged commit c9be72a into main Dec 22, 2021
@shanshin shanshin deleted the report branch December 22, 2021 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design multimodule projects support
3 participants