integration-flow-testing

Installation
SKILL.md

Integration & Flow Testing

Overview

Generate the two test layers that close the "did the pieces actually connect" gap:

  1. Integration tests — one file per integration_points[] entry in the contract map, asserting that the component correctly handles the declared protocol + endpoint + failure mode.
  2. Flow tests — one file per flows[] entry, asserting end-to-end behaviour. Flows are consumer-driven only — the skill reads the declared flows: block and does NOT auto-traverse the call graph. Any auto-traversal would violate M5 (flow explosion) and makes the test matrix unpredictable.

The skill GENERATES test source files. Bob's trusted runner EXECUTES them (spec section 11.2, CB3 fix). The skill NEVER writes to the ledger directly and NEVER runs tests itself.

When Bob Invokes This Skill (with a claim_uuid bob already issued)

Bob's Step 4.5 (spec section 14.2) calls this skill with:

  • component_id — the component to generate integration + flow tests for
  • claim_uuid — opaque claim token bob issued via claims.issue_claim(wp_id, "integration-flow-testing")
  • contract_map_path — progress/contract-map.yaml (read-only)
  • project_root — project root
  • language_target — pytest or jest (v1 supports ONLY these two)
Installs
2
GitHub Stars
6
First Seen
Sep 28, 2026