Package-level declarations

Types

Link copied to clipboard
class BlockUntilRenderTimeoutException(wrapped: TimeoutCancellationException) : Exception

Exception thrown when blockUntilRenderWhen times out.

Properties

Link copied to clipboard

The default timeout used for methods that wait for a render to settle.

Functions

Link copied to clipboard
fun RunScope.blockUntilRenderMatches(terminal: InMemoryTerminal, timeout: Duration? = section.session.defaults.renderTimeout, expected: RenderScope.() -> Unit)

Like blockUntilRenderWhen but using a more readable RenderScope syntax.

Link copied to clipboard
fun RunScope.blockUntilRenderWhen(timeout: Duration? = section.session.defaults.renderTimeout, condition: () -> Boolean)

Block the current run block until a render has occurred where the passed in condition is true.

Link copied to clipboard

Replace control characters with their escaped representation.

Link copied to clipboard

Strip all ANSI formatting from a string.