strikt-core / strikt.api / Assertion / fail

fail

abstract fun fail(description: String? = null, cause: Throwable? = null): Unit

Mark this result as failed.

Parameters

description - An optional description of the failure.