← Back to Kairo Docs|API Reference (Dokka)

Package-level declarations

Functions

Link copied to clipboard
inline fun <T : Any> ExtensionContext.Store.get(key: String): T?
Link copied to clipboard
inline fun <T, R> T.postcondition(description: String? = null, block: T.() -> R): R

Semantic wrapper for verifying side effects after the test action.

Link copied to clipboard
inline fun <T, R> T.precondition(description: String? = null, block: T.() -> R): R

Semantic wrapper for verifying preconditions before the test action.

Link copied to clipboard
inline fun <T, R> T.setup(description: String? = null, block: T.() -> R): R

Semantic wrapper for test setup. Runs before the test action.

Link copied to clipboard
inline fun <T, R> T.test(description: String? = null, block: T.() -> R): R

Semantic wrapper for the primary test action and assertions.