In package strikt.api

class strikt.api.AtomicAssertion

An assertion of a single condition on a subject.


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

Mark this result as failed due to a comparison between two values.

  • actual: Any?

    an actual value, that is the value that differed from the expected value.

  • description: String?

    A description of the failure. May contain a String.format style placeholder for the actual value.

  • cause: Throwable?