Kover Reports Config
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
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.
Configure reports for all code of current project and kover
dependencies.
Configure reports for classes of specified named Kover report variant.
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
Instance to configuring of common filters for all report variants.
Instance to configuring of reports for all code of current project and kover
dependencies.
Instance to configuring of common verification rules for all report variants.