Skip to content

STRUCT

RenderTesterResult

The result of a RenderTester rendering. Used to verify state, output, and actions that were produced as a result of actions performed during the render (such as child workflow output being produced).

Methods

verifyState(file:line:assertions:)

Allows for assertions against the resulting state.

assertNoAction(file:line:)

Asserts that no actions were produced

verifyAction(type:file:line:assertions:)

Allows for assertions agains the resulting action

assert(action:file:line:)

Asserts that the resulting action is equal to the given action.

assertNoOutput(file:line:)

Asserts that no output was produced.

verifyOutput(file:line:assertions:)

Allows for assertions agains the resulting output