-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Current State
- Only basic unit tests exist (
mobile-sensor-microservice/tests/test_service.py) - Missing integration tests
- No end-to-end tests
- No performance tests
Issues
- Cannot verify system behavior under load
- Missing tests for error scenarios
- No regression testing
- Cannot validate complete flows
- Missing tests for edge cases
Required
- Increase unit test coverage to >80%
- Add integration tests for all components:
- SPIRE Agent → Server attestation flow
- Keylime Verifier → Agent quote flow
- Mobile sensor verification flow
- Complete end-to-end flow
- Implement end-to-end tests for demo scenarios
- Add performance/load tests
- Add chaos engineering tests (network failures, service restarts)
- Add tests for error scenarios and edge cases
Location
- All Python modules need test coverage
- Integration tests needed for complete flows
- E2E tests for demo scenarios
Related
From PRODUCTION_READINESS_ANALYSIS.md - Section 5.1