Spaces:
Running
Running
A newer version of the Gradio SDK is available:
6.4.0
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 flowtest_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 generationtest_spiritual_prompt_edit.py- Tests spiritual care prompt editing functionalitytest_spiritual_care_prompt_editing.py- Comprehensive test for prompt editing and model selection integrationtest_clear_provider_summary.py- Tests automatic clearing of Provider Summary on chat reset
Running Tests
Each test can be run independently:
# 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