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
..
2026-02-04 00:16:59 +08:00
2026-02-05 22:36:30 +08:00
2025-09-30 22:03:44 +08:00
2026-02-11 10:55:19 +08:00
2026-01-25 10:38:10 +08:00
2025-12-09 10:37:35 +08:00
2026-01-25 10:38:10 +08:00
2026-02-05 22:36:30 +08:00
2026-02-11 11:10:31 +08:00
2025-10-26 18:07:00 +08:00
2026-02-11 11:10:31 +08:00
2026-02-11 11:10:31 +08:00
2026-01-26 20:36:00 +08:00
2026-02-11 10:55:19 +08:00
2026-01-23 22:56:38 +08:00
2025-10-26 23:57:59 +08:00
2026-01-27 00:36:06 +08:00