Will Miao
8e30008b29
test: complete Phase 3 of backend testing improvement plan
Centralize test fixtures:
- Add mock_downloader fixture for configurable downloader mocking
- Add mock_websocket_manager fixture for WebSocket broadcast recording
- Add reset_singletons autouse fixture for test isolation
- Consolidate singleton cleanup in conftest.py
Split large test files:
- test_download_manager.py (1422 lines) → 3 focused files:
- test_download_manager_basic.py: 12 core functionality tests
- test_download_manager_error.py: 15 error handling tests
- test_download_manager_concurrent.py: 6 advanced scenario tests
- test_cache_paths.py (530 lines) → 3 focused files:
- test_cache_paths_resolution.py: 11 path resolution tests
- test_cache_paths_validation.py: 9 legacy validation tests
- test_cache_paths_migration.py: 9 migration scenario tests
Update documentation:
- Mark all Phase 3 checklist items as complete
- Add Phase 3 completion summary with test results
All 894 tests passing.
2026-02-11 11:10:31 +08:00
..
2025-10-03 18:34:52 +08:00
2026-01-27 22:51:09 +08:00
2026-01-26 13:51:45 +08:00
2026-01-30 07:48:31 +08:00
2026-02-11 11:10:31 +08:00
2025-10-11 17:38:20 +08:00
2026-01-26 23:24:16 +08:00
2025-09-24 15:39:52 +08:00
2025-11-08 11:45:31 +08:00
2025-09-24 23:22:32 +08:00
2025-10-04 10:38:06 +08:00
2026-02-07 23:27:01 +08:00
2025-10-11 20:08:42 +08:00