toggle menu
workflow
jvm
switch theme
search in API
workflow-testing-jvm
/
com.squareup.workflow1.testing
/
test
test
fun
<
T
>
Worker
<
T
>
.
test
(
timeoutMs
:
Long
=
DEFAULT_TIMEOUT_MS
,
block
:
suspend
WorkerTester
<
T
>
.
(
)
->
Unit
)
(
source
)
Test a
Worker
by defining assertions on its output within
block
.