strat-gameplay-webapp/backend/tests/unit/models
Cal Corum 160550afca CLAUDE: Add comprehensive unit tests for PendingXCheck model
Test coverage:
- Creation with minimal fields (required only)
- Creation with optional fields (SPD, result selection, DECIDE)
- Field validation (d20, d6, chart_row, error_result, etc.)
- Range constraints (d20: 1-20, d6: 1-6, bases: proper values)
- Mutability during workflow (can update selections)

Results:
- 19 new tests, all passing
- Total: 1005 unit tests passing (was 986)
- PendingXCheck model fully validated

Next: Create XCheckWizard frontend component

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-07 17:30:19 -06:00
..
__init__.py CLAUDE: Complete Week 4 - State Management & Persistence 2025-10-22 12:01:03 -05:00
test_game_models.py CLAUDE: Refactor offensive decisions - replace approach with action field 2025-11-14 15:07:54 -06:00
test_pending_x_check.py CLAUDE: Add comprehensive unit tests for PendingXCheck model 2026-02-07 17:30:19 -06:00
test_player_models.py CLAUDE: Implement player models and optimize database queries 2025-10-28 14:08:56 -05:00
test_roster_models.py CLAUDE: Implement polymorphic RosterLink for both PD and SBA leagues 2025-10-22 22:45:44 -05:00