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> |
||
|---|---|---|
| .. | ||
| test_agents.py | ||
| test_append_only.py | ||
| test_build.py | ||
| test_config.py | ||
| test_patcher.py | ||
| test_runner.py | ||
| test_stage_promotion.py | ||
| test_template_meta.py | ||
| test_utils.py | ||
| test_workflow.py | ||