Suite • opensavvy.prepared.suite • prepared
prepared¶
fun <T> prepared(context: CoroutineContext = EmptyCoroutineContext, display: Display = Display.Short, block: suspend TestDsl.() -> T): PreparedProvider<T>
Declares a lazily-prepared value which will be constructed by calling block during test execution.
The prepared value returned by this function is automatically named after the variable it is stored in.
For more information, see Prepared.