Skip to content

workflow-testing

workflow-testing / com.squareup.workflow.testing

Package com.squareup.workflow.testing

Types

Name Summary
MockChildWorkflow class MockChildWorkflow<P, R> : Workflow<P,Nothing,R>
A mock implementation of Workflow for use in tests with testRender and TestRenderResult.
MockWorker class MockWorker<T> : Worker<T>
A mock implementation of Worker for use in tests with testRender and TestRenderResult.
TestRenderResult class TestRenderResult<StateT, OutputT :Any, RenderingT>
Represents the result of running a single render pass on a workflow.
WorkerTester interface WorkerTester<T>
WorkflowTester class WorkflowTester<PropsT, OutputT :Any, RenderingT>
Runs a Workflow and provides access to its renderings, outputs, and snapshots.

Extensions for External Classes

Name Summary
com.squareup.workflow.StatefulWorkflow
com.squareup.workflow.StatelessWorkflow
com.squareup.workflow.Worker
com.squareup.workflow.Workflow