workflow-testing
OfficialStreamline workflow unit tests with RenderTester.
Authorsquare
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Testing workflows manually is error-prone and slow; this Skill provides a framework to write targeted unit tests for StatefulWorkflow and StatelessWorkflow using testRender and RenderTester to validate render results, state transitions, and emitted outputs.
Core Features & Use Cases
- Isolate render logic with RenderTester and testRender to verify rendering results
- Verify state transitions, actions, and outputs for both StatefulWorkflow and StatelessWorkflow
- Assert interactions with child workflows and workers via expectations and fake components
Quick Start
Write a unit test that creates a workflow instance, calls testRender with initial props and state, and asserts the initial rendering or subsequent transitions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: workflow-testing Download link: https://github.com/square/workflow-kotlin/archive/main.zip#workflow-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.