RootCoveragePluginExtension

open class RootCoveragePluginExtension

Constructors

Link copied to clipboard
fun RootCoveragePluginExtension()

Properties

Link copied to clipboard
var buildVariant: String
Link copied to clipboard
var buildVariantOverrides: Map<String, String>
Link copied to clipboard
var excludes: List<String>
Link copied to clipboard
var executeAndroidTests: Boolean = true

When disabled the plugin will skip the execution of all (instrumented) Android tests (by not depending on the Gradle test tasks). If disabled this does not automatically imply that already existing code coverage results will not be included in the final coverage report, instead this is expected to happen as this can be useful when you run the tests manually or remote (Firebase Test Lab).

Link copied to clipboard
var executeTests: Boolean = true
Link copied to clipboard
var executeUnitTests: Boolean = true

When disabled the plugin will skip the execution of all unit tests (by not depending on the Gradle test tasks). If disabled this does not automatically imply that already existing code coverage results will not be included in the final coverage report, instead this is expected to happen as this can be useful when you run the tests manually or remote (Firebase Test Lab).

Link copied to clipboard
var generateCsv: Boolean = false
Link copied to clipboard
var generateHtml: Boolean = true
Link copied to clipboard
var generateXml: Boolean = false
Link copied to clipboard
var includeAndroidTestResults: Boolean = true

Whether to include results from instrumented Android tests into the final coverage report. If disabled this also causes the plugin to not automatically execute instrumented Android tests (if not already disabled by executeAndroidTests).

Link copied to clipboard
var includeNoLocationClasses: Boolean = false
Link copied to clipboard
var includeUnitTestResults: Boolean = true

Whether to include results from unit tests into the final coverage report. If disabled this also causes the plugin to not automatically execute unit tests (if not already disabled by executeUnitTests).