strat-gameplay-webapp/backend/tests/integration
Cal Corum 9d0d29ef18 CLAUDE: Add Alembic migrations and database session injection
Database Infrastructure:
- Added Alembic migration system (alembic.ini, env.py)
- Migration 001: Initial schema
- Migration 004: Stat materialized views (enhanced)
- Migration 005: Composite indexes for performance
- operations.py: Session injection support for test isolation
- session.py: Enhanced session management

Application Updates:
- main.py: Integration with new database infrastructure
- health.py: Enhanced health checks with pool monitoring

Integration Tests:
- conftest.py: Session injection pattern for reliable tests
- test_operations.py: Database operations tests
- test_migrations.py: Migration verification tests

Session injection pattern enables:
- Production: Auto-commit per operation
- Testing: Shared session with automatic rollback
- Transactions: Multiple ops, single commit

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 12:09:09 -06:00
..
database CLAUDE: Add Alembic migrations and database session injection 2025-11-28 12:09:09 -06:00
__init__.py CLAUDE: Complete Week 4 - State Management & Persistence 2025-10-22 12:01:03 -05:00
conftest.py CLAUDE: Add Alembic migrations and database session injection 2025-11-28 12:09:09 -06:00
test_game_engine.py CLAUDE: Phase 3F - Substitution System Testing Complete 2025-11-06 15:25:53 -06:00
test_position_ratings_api.py CLAUDE: Phase 3E-Main - Position Ratings Integration for X-Check Resolution 2025-11-03 21:00:37 -06:00
test_stat_views.py CLAUDE: Phases 3.5, F1-F5 Complete - Statistics & Frontend Components 2025-11-14 09:52:30 -06:00
test_state_persistence.py CLAUDE: Implement polymorphic Lineup model for PD and SBA leagues 2025-10-23 08:35:24 -05:00
test_substitution_manager.py CLAUDE: Phase 3F - Substitution System Testing Complete 2025-11-04 22:34:17 -06:00
test_xcheck_websocket.py CLAUDE: Phase 3F - Substitution System Testing Complete 2025-11-06 15:25:53 -06:00