render
abstract fun render(block: (rendering: RenderingT) -> Unit = {}): RenderTestResult<PropsT, StateT, OutputT, RenderingT>(source)
Execute the workflow's render
method and run block to perform assertions on and send events to the resulting rendering.
All workflows rendered/ran by the workflow must be specified before calling this method. Workers are optionally specified.
Return
A RenderTestResult that can be used to verify the WorkflowAction that was used to handle a workflow or worker output or a rendering event.
Parameters
block
Passed the result of the render pass to perform assertions on. If no child workflow or worker was configured to emit an output, may also invoke one of the rendering's event handlers. It is an error to invoke an event handler if a child emitted an output.