doc / ch.tutteli.atrium.api.verbs

Package ch.tutteli.atrium.api.verbs

Contains the out-of-the-box expectation verb expect.

Types

AssertionVerb

enum class AssertionVerb : StringBasedTranslatable

The Translatable for the assertion expect.

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 appends the expectations the given assertionCreator-lambda creates as group to it.

fun <T, R> Expect<T>.expect(newSubject: R): FeatureExpect<T, R>