KoverReportsConfig

Configuration of Kover reports.

Example of usage:

kover {
reports {
filters {
// common filters for all reports of all variants
}
verify {
// common verification rules for all variants
}

/*
Total reports set - special reports for all code of current project and it's kover dependencies.
These are the reports for total variant of current project and it's kover dependencies.
*/
total {
filters {
// override report filters for total reports
}

html {
// configure total HTML report
}

xml {
// configure total XML report
}

verify {
// configure total coverage verification
}
}

variant("custom") {
filters {
// override report filters for reports of 'custom' variant
}

html {
// configure HTML report for reports of 'custom' variant
}

xml {
// configure XML report for reports of 'custom' variant
}

verify {
// configure coverage verification for reports of 'custom' variant
}
}
}
}

Functions

Link copied to clipboard
abstract fun filters(config: Action<KoverReportFiltersConfig>)

Specify common filters for all report variants, these filters will be inherited in HTML/XML/verification reports. They can be redefined in the settings of a specific report variant.

Link copied to clipboard
abstract fun total(config: Action<KoverReportSetConfig>)

Configure reports for all code of current project and kover dependencies.

Link copied to clipboard
abstract fun variant(variant: String, config: Action<KoverReportSetConfig>)

Configure reports for classes of specified named Kover report variant.

Link copied to clipboard
abstract fun verify(config: Action<KoverVerificationRulesConfig>)

Specify common verification rules for all report variants: JVM and Android build variants. They can be overridden in the settings for a specific report set for particular variant.

Properties

Link copied to clipboard

Instance to configuring of common filters for all report variants.

Link copied to clipboard

Instance to configuring of reports for all code of current project and kover dependencies.

Link copied to clipboard

Instance to configuring of common verification rules for all report variants.