Commit Graph

1 Commits

Author SHA1 Message Date
Caleb d561f9d9ad test: add integration tests for epic-chain.sh
Add comprehensive test suite for the epic-chain script with 25 tests covering:
- Argument parsing and help text
- Dry-run and analyze-only modes
- Epic file validation and missing epic detection
- Dependency detection from epic files
- Chain plan YAML generation and structure
- Story count detection
- All CLI options (--start-from, --skip-done, --no-handoff, etc.)
- UAT gate options
- Directory creation
- Combined options compatibility

Note: Tests work around a path resolution issue in epic-chain.sh where
PROJECT_ROOT uses "../.." but scripts/ is only one level deep.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 06:30:34 -06:00