Skip to content

//workflow/com.squareup.workflow1.testing/RenderTestResult/testNextRender

testNextRender

[jvm]
Content
abstract fun testNextRender(): RenderTester<PropsT, StateT, OutputT, RenderingT>
More info

Starts a new RenderTester session using the same props as the previous session started by testRender or testNextRenderWithProps, and the state that is a result of the latest render pass (the same one you could run assertions on in verifyActionResult).

This method is useful for daisy-chaining of RenderTester sessions, when you want to assert different state transitions without WorkflowTestRuntime overhead.