ralph-claude-code/tests/integration
Test User b06d979b0b test(import): add 22 comprehensive tests for ralph_import.sh
Add integration tests for PRD to Ralph format conversion:
- File format support tests (.md, .txt, .json)
- Output file creation tests (PROMPT.md, @fix_plan.md, specs/requirements.md)
- Project naming tests (custom names, auto-detection from filename)
- Error handling tests (missing files, dependencies, conversion failures)
- Help and usage tests
- Full workflow integration tests
- Edge case handling (hyphens, uppercase, subdirectory paths)

Test infrastructure:
- Mock ralph-setup command using PATH manipulation
- Mock Claude Code CLI for isolated conversion testing
- Added create_sample_prd_txt() fixture helper

Test count: 223 (up from 201)
2026-01-09 16:13:23 -07:00
..
test_edge_cases.bats Phase 2: Requirements, testing, and documentation enhancements 2025-10-01 21:34:54 -07:00
test_installation.bats fix: address code review feedback 2026-01-09 14:20:58 -07:00
test_loop_execution.bats Implement Phase 1 critical fixes: Response analyzer & circuit breaker 2025-10-01 21:11:18 -07:00
test_prd_import.bats test(import): add 22 comprehensive tests for ralph_import.sh 2026-01-09 16:13:23 -07:00
test_project_setup.bats fix(test): improve test reliability and remove tautologies 2026-01-09 15:47:41 -07:00