ragflow/test/unit_test/services
hsparks.codes 2827204584 feat: Add comprehensive unit testing template and documentation
- Add test_dialog_service_template.py with 17/17 passing tests
- Implement correct testing pattern: test real services, mock only dependencies
- Add comprehensive documentation (Quick Start, Strategy Guide, Summary)
- Align with owner feedback: test actual business logic, not mocks
- Ready-to-use template for refactoring other service tests
2025-12-03 14:40:28 +01:00
..
__init__.py feat: Add comprehensive unit test suite for core services 2025-12-02 10:14:29 +01:00
test_canvas_service.py fix: Remove unused MagicMock imports to pass ruff linter 2025-12-02 10:39:38 +01:00
test_conversation_service.py fix: Remove unused MagicMock imports to pass ruff linter 2025-12-02 10:39:38 +01:00
test_dialog_service.py fix: Remove unused MagicMock imports to pass ruff linter 2025-12-02 10:39:38 +01:00
test_dialog_service_actual.py feat: Add comprehensive unit testing template and documentation 2025-12-03 14:40:28 +01:00
test_dialog_service_template.py feat: Add comprehensive unit testing template and documentation 2025-12-03 14:40:28 +01:00
test_document_service.py feat: Add comprehensive unit test suite for core services 2025-12-02 10:14:29 +01:00
test_knowledgebase_service.py feat: Add comprehensive unit test suite for core services 2025-12-02 10:14:29 +01:00