reports

abstract fun reports(block: Action<KoverReportsConfig>)(source)

Configuration of Kover reports.

An individual set of reports is created for each Kover report variant. All these sets can be configured independently of each other.

The main difference between the reports sets and the report variants is that the reports are individual for each project, the settings of reports in different projects do not affect each other in any way. At the same time, changing a report variant affects all reports that are based on it, for example, if several projects import a variant through a dependency kover(project(":subproject")).

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 {
// config
}

/*
Configure custom reports set with name "custom".
These are the reports for variant "custom" of current project and it's kover dependencies.
*/
variant("custom") {
}
}
}

Instance to configuring of Kover reports.

See details in reports.