23 lines
914 B
Markdown
23 lines
914 B
Markdown
# Testing strategy
|
|
|
|
## Go
|
|
- Unit tests for validation and state transitions
|
|
- API integration tests with disposable PostgreSQL
|
|
- WebSocket authentication, authorization and replay tests
|
|
- Fuzz tests for message parsing and size limits
|
|
|
|
## Android
|
|
- Unit tests for repositories and call state machine
|
|
- Instrumentation tests for Keystore and lifecycle
|
|
- Device tests for audio routing and background calling
|
|
|
|
## Security release gates
|
|
- Identity substitution and MITM attempts fail closed
|
|
- Replayed signaling and media packets are rejected
|
|
- TURN and signaling captures contain no decodable audio
|
|
- Server/database compromise does not expose media keys
|
|
- Device revocation blocks subsequent call setup
|
|
- Key rotation and ICE restart do not reuse key/nonce pairs
|
|
|
|
No security claim should be made based only on a successful encrypted packet capture. Verify endpoint authentication and actual decryption boundaries.
|