mantimon-tcg/backend/tests
Cal Corum 29ab0b3d84 Add GameStateManager service with Redis/Postgres dual storage
- Implement GameStateManager with Redis-primary, Postgres-backup pattern
- Cache operations: save_to_cache, load_from_cache, delete_from_cache
- DB operations: persist_to_db, load_from_db, delete_from_db
- High-level: load_state (cache-first), delete_game, recover_active_games
- Query helpers: get_active_game_count, get_player_active_games
- Add 22 tests for GameStateManager (87% coverage)
- Add 6 __repr__ tests for all DB models (100% model coverage)
2026-01-27 10:59:58 -06:00
..
core Add weakness/resistance support to attack damage calculation 2026-01-26 16:04:41 -06:00
db Add GameStateManager service with Redis/Postgres dual storage 2026-01-27 10:59:58 -06:00
services Add GameStateManager service with Redis/Postgres dual storage 2026-01-27 10:59:58 -06:00
__init__.py Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00
factories.py Add database infrastructure with SQLAlchemy models and test suite 2026-01-27 10:17:30 -06:00
test_health.py Add backend foundation with uv, Black, and pre-commit hooks 2026-01-24 00:12:33 -06:00