kotest-assertions / io.kotest.assertions.until / Interval

Interval

interface Interval

A Interval determines how often Kotest will invoke the predicate function for an until block.

Functions

next

Returns the next delay as a Duration.

abstract fun next(count: Int): Duration

Inheritors

ExponentialInterval

class ExponentialInterval : Interval

FibonacciInterval

Fibonacci delay implements a delay where each duration is calculated as a multiplier of the fibonacci sequence, 0, 1, 1, 2, 3, 5....

class FibonacciInterval : Interval

FixedInterval

Generates a fixed (linear) poll interval based on the supplied duration

class FixedInterval : Interval