testing-flow

Installation
SKILL.md

Testing a Robomotion Flow

Run behavioral tests for a Robomotion flow. Uses @robomotion/sdk/testing + bun test.

For pspec schema validation, use validating-flow.

Purpose

  • Execute *.test.ts files with bun test
  • Author new tests with FlowTester, MockRegistry, SubflowTester
  • Inspect structure, mock services, trace execution, exercise Function-node logic

Workflow

  1. Check for testsls path/to/flow/*.test.ts
  2. Runcd path/to/flow && bun test
  3. Fix failures — diagnose, edit, re-run

Quick Start

Related skills

More from robomotionio/agent-skills

Installs
20
GitHub Stars
2
First Seen
Apr 16, 2026