Assertion

interface Assertion

Allows assertion implementations to determine a result.

Methods

pass

abstract fun pass()

Mark this result as passed.

ReturnValue

Name Description
Unit

fail

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

Mark this result as failed.

Parameters

Name Description
description: String?

An optional description of the failure.

cause: Throwable?

ReturnValue

Name Description
Unit