KoverVerificationRulesConfig

Configuration to specify verification rules.

Example:

verify {
rule {
// verification rule
}

rule("custom rule name") {
// named verification rule
}

// fail on verification error
warningInsteadOfFailure = false
}

Inheritors

Functions

Link copied to clipboard
abstract fun rule(config: Action<KoverVerifyRule>)

Add new coverage verification rule to check after test task execution.

abstract fun rule(name: String, config: Action<KoverVerifyRule>)

Add new named coverage verification rule to check after test task execution.

Properties

Link copied to clipboard
abstract val warningInsteadOfFailure: Property<Boolean>

In case of a verification error, print a message to the log with the warn level instead of the Gradle task execution error.