doc / ch.tutteli.atrium.api.verbs.internal

Package ch.tutteli.atrium.api.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

Defines the translation used for the assertion verbs used for internal purposes.

NoAdjustingReporterFactory

class NoAdjustingReporterFactory : ReporterFactory

Functions

expect

fun <T> expect(subject: T): RootExpect<T>

Creates an Expect for the given subject.

fun <T> expect(subject: T, assertionCreator: Expect<T>.() -> Unit): Expect<T>

Creates an Expect for the given subject and Expect.addAssertionsCreatedBy the given assertionCreator-lambda where the created Assertions are added as a group and reported as a whole.