doc / ch.tutteli.atrium.verbs.internal

Package ch.tutteli.atrium.verbs.internal

Contains the assertion verbs Atrium uses internally. Use with care, no backward compatibility guarantees and reporting might change.

Types

AssertionVerb

enum class AssertionVerb : StringBasedTranslatable

AssertionVerbFactory

object AssertionVerbFactory

Only required if you implement a custom component (for instance an own Reporter, ObjectFormatter etc.) or an own assertion function API (e.g., atrium-api-cc-en_GB in a different language) and you want to reuse a specification from atrium-spec to test your custom component against it.

NoAdjustingReporterFactory

class NoAdjustingReporterFactory : ReporterFactory

Functions

assert

fun <T : Any> assert(subject: T): <ERROR CLASS>
fun <T : Any> assert(subject: T, assertionCreator: Assert<T>.() -> Unit): <ERROR CLASS>

expect

fun expect(act: () -> Unit): Builder