verify

abstract fun verify(config: Action<KoverVerifyTaskConfig>)(source)

Configure coverage verification for current report variant.

Using this block clears all the bounds specified earlier. In order not to clear the existing bounds, but to add new ones, use verifyAppend.

verify {
onCheck = true

rule {
// ...
}

rule("Custom Name") {
// ...
}

// fail on verification error
warningInsteadOfFailure = false
}

Instance to configuring of coverage verification for current report variant.

See details in verify.