1.5 KiB
1.5 KiB
id, name, status, depends_on, scope, risk, impact, level
| id | name | status | depends_on | scope | risk | impact | level | |
|---|---|---|---|---|---|---|---|---|
| setup/test-infrastructure | Set up vitest test infrastructure with fixtures, helpers, and reactive test patterns | completed |
|
narrow | low | component | implementation |
Description
Create the test infrastructure that all downstream test files will depend on: shared fixtures, helper functions for graph construction, and the reactive test pattern (create root → transition → assert → dispose). This ensures consistent test setup across all modules.
Per build-distribution.md testing strategy section.
Acceptance Criteria
test/helpers/directory with shared test utilitiestest/helpers/graph-factory.ts— helpers to build test operation graphs and call graphs with known structurestest/helpers/reactive.ts— helper to createWorkflowReactiveRootinstances for testing: setup → transition → assert → dispose patterntest/helpers/schemas.ts— sample TypeBox schemas for testingtypeCompat()(compatible pairs, incompatible pairs, unknown schemas)- All helpers are importable from
test/helpers/ vitest.config.tsincludestest/helpers/in setup or alias configuration
References
- docs/architecture/build-distribution.md — testing strategy, reactive test patterns
- docs/architecture/reactive-execution.md — WorkflowReactiveRoot lifecycle (setup → assert → dispose)
Notes
To be filled by implementation agent
Summary
To be filled on completion