Major improvements: - app.py coverage: 15% → 25% (+10 percentage points) - research/guarded_ai.py coverage: 68% → 81% (+13 percentage points) - Overall project coverage: 68% → 72% (+4 percentage points) Key changes: - Add comprehensive Flask integration tests for app.py activity functions - Test real database operations with in-memory SQLite - Add extensive guarded_ai.py error handling and client management tests - Enhanced Makefile with comprehensive test targets - Updated requirements-test.txt with flake8 - All 135 tests now passing with proper test coverage The integration tests use real Flask environment, actual YAML processing, and genuine database operations instead of mocks for accurate coverage.
7 lines
No EOL
70 B
Text
7 lines
No EOL
70 B
Text
pytest
|
|
pytest-cov
|
|
pytest-mock
|
|
pytest-flask
|
|
pytest-asyncio
|
|
black
|
|
flake8 |