CascadingDev/tests
rob 5bfe3d3d9b test: add end-to-end stage promotion tests (specification tests)
Created comprehensive test suite for multi-stage discussion promotion:

**Tests Added (4 total):**
1. test_feature_to_design_promotion - Full promotion workflow
2. test_design_document_creation - Design doc generation
3. test_vote_threshold_not_met - Negative case validation
4. test_ai_votes_excluded_when_configured - Vote filtering

**Current Status:**
-  2 tests passing (negative cases: threshold not met, AI exclusion)
- ⏸️  1 test skipped (design doc creation - not fully implemented)
-  1 test failing (promotion logic needs pre-commit hook or direct automation call)

**Purpose:**
These tests serve as living specification for the expected behavior.
They document the complete promotion workflow and will pass once the
status update logic is fully integrated into the automation chain.

**Test Coverage:**
- Vote counting with human/AI filtering
- Promotion threshold validation
- Status transitions (OPEN → READY_FOR_DESIGN)
- Design discussion file generation
- Metadata header updates

Addresses PROGRESS.md Stage 3: "Add end-to-end design stage test"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 20:15:43 -04:00
..
test_agents.py feat: share ai fallback with agents and add provider status 2025-11-02 00:21:10 -03:00
test_append_only.py fix: allow yaml header edits in append-only check 2025-11-01 23:05:27 -03:00
test_build.py feat: Implement vote parsing orchestrator and testing infrastructure 2025-10-30 14:25:53 -03:00
test_config.py fix: Add YAML syntax fix and mock AI script for testing 2025-10-31 09:18:59 -03:00
test_patcher.py fix: ensure codex fallback uses stdin 2025-11-01 23:19:09 -03:00
test_runner.py feat: parse codex exec json output for fallbacks 2025-11-01 17:28:57 -03:00
test_stage_promotion.py test: add end-to-end stage promotion tests (specification tests) 2025-11-02 20:15:43 -04:00
test_template_meta.py test: Add comprehensive workflow tests and improve template tests 2025-10-30 16:20:42 -03:00
test_utils.py feat: Implement vote parsing orchestrator and testing infrastructure 2025-10-30 14:25:53 -03:00
test_workflow.py fix: Add YAML syntax fix and mock AI script for testing 2025-10-31 09:18:59 -03:00