DocUA's picture
feat: Add comprehensive manual tests for spiritual care message features
1d0741a
# Manual Test Scripts
This directory contains manual test scripts for validating specific features and functionality.
## Available Tests
### Patient Profile & Context
- **`test_patient_profile_flow.py`** - Tests complete patient profile loading and application flow
- **`test_patient_context_in_message.py`** - Validates that patient medical context is included in spiritual care messages
### Spiritual Care Features
- **`test_spiritual_care_message.py`** - Tests LLM-based spiritual care message generation
- **`test_spiritual_prompt_edit.py`** - Tests spiritual care prompt editing functionality
- **`test_spiritual_care_prompt_editing.py`** - Comprehensive test for prompt editing and model selection integration
- **`test_clear_provider_summary.py`** - Tests automatic clearing of Provider Summary on chat reset
## Running Tests
Each test can be run independently:
```bash
# Activate virtual environment
source .venv/bin/activate
# Run a specific test
python manual_tests/test_spiritual_care_prompt_editing.py
```
## Test Coverage
These manual tests complement the automated test suite in the `tests/` directory and focus on:
- End-to-end feature validation
- UI integration testing
- LLM interaction verification
- Session-based functionality
## Notes
- Tests require active API keys (Anthropic, Google Gemini)
- Some tests make actual API calls to LLM providers
- Tests output detailed validation results to console
- All tests are non-destructive and don't modify system files