opencompletion.com/tests/unit
Russell Ballestrini 45a8f60cd2 Significantly improve test coverage with comprehensive integration tests
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.
2025-08-10 20:52:56 -04:00
..
test_activity_yaml_validator.py Integrate comprehensive testing framework with Makefile 2025-08-10 19:38:50 -04:00
test_app.py Significantly improve test coverage with comprehensive integration tests 2025-08-10 20:52:56 -04:00
test_yaml_loading.py Integrate comprehensive testing framework with Makefile 2025-08-10 19:38:50 -04:00