rule

abstract fun rule(config: Action<KoverVerifyRule>)(source)

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


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

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

The name will be displayed in case of a verification error if Kover Tool was used.