25 lines
673 B
Markdown
25 lines
673 B
Markdown
# Service Center Tests
|
|
|
|
Tests for the Service Center architecture (core/importable services).
|
|
|
|
## Run with pytest
|
|
|
|
From gateway root (with venv activated):
|
|
|
|
```bash
|
|
pytest tests/unit/serviceCenter/ -v
|
|
```
|
|
|
|
## Standalone smoke test (no pytest)
|
|
|
|
```bash
|
|
python tests/scripts/smoke_test_service_center.py
|
|
```
|
|
|
|
## Test files
|
|
|
|
| File | Purpose |
|
|
|------|---------|
|
|
| `test_service_center_imports.py` | Verify imports of foundation, core, and importable services |
|
|
| `test_service_center_resolution.py` | Verify `getService()` resolves services and caches correctly |
|
|
| `test_service_center_functionality.py` | Verify basic behavior of UtilsService and other migrated services |
|