mantimon-tcg/backend/tests/core
Cal Corum c00ee87f25 Switch to testcontainers for automatic test container management
- Create tests/conftest.py with testcontainers for Postgres and Redis
- Auto-detect Docker Desktop socket and disable Ryuk for compatibility
- Update tests/db/conftest.py and tests/services/conftest.py to use shared fixtures
- Fix test_resolve_effect_logs_exceptions: logger was disabled by pytest
- Fix test_save_and_load_with_real_redis: use redis_url fixture
- Minor lint fix in engine_validation.py

Tests now auto-start containers on run - no need for `docker compose up`
All 1199 tests passing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 16:49:11 -06:00
..
test_effects Switch to testcontainers for automatic test container management 2026-01-28 16:49:11 -06:00
test_models Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
__init__.py Add game engine foundation: enums, config, and RNG modules 2026-01-24 22:14:45 -06:00
conftest.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_config.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_coverage_gaps.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_engine.py Add weakness/resistance support to attack damage calculation 2026-01-26 16:04:41 -06:00
test_evolution_stack.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_rng.py Add game engine foundation: enums, config, and RNG modules 2026-01-24 22:14:45 -06:00
test_rules_validator.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_turn_manager.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_visibility.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00
test_win_conditions.py Move enums to app/core/enums.py and set up clean module exports 2026-01-26 14:45:26 -06:00