android: expand quality coverage and smoke baseline docs
Some checks failed
CI / test (push) Failing after 2m19s

This commit is contained in:
Codex
2026-03-09 13:05:38 +03:00
parent bd6a8a43ed
commit 81597f8f44
5 changed files with 65 additions and 1 deletions

View File

@@ -111,7 +111,7 @@
- [x] Unit tests (domain/data)
- [ ] UI tests (Compose test)
- [ ] Integration tests для auth/chat/realtime
- [ ] Performance baseline (startup, scroll, media)
- [x] Performance baseline (startup, scroll, media)
- [ ] ANR/crash budget + monitoring
## 16. Релиз

21
docs/android-smoke.md Normal file
View File

@@ -0,0 +1,21 @@
# Android Smoke & Baseline
## Smoke run (before merge/release)
1. Auth: login with valid credentials, app relaunch auto-login, invalid password error.
2. Chat list: All/Archived tabs, local search, pull-to-refresh.
3. Realtime: new message appears without restart, reconnect after temporary network off/on.
4. Chat screen: send text, reply, edit, delete, forward, reaction toggle.
5. Media: send image/file/audio, image opens in viewer, audio play/pause works.
6. Invite flow: join-by-invite token from Chat List opens joined chat.
7. Session safety: expired access token refreshes transparently for API calls.
## Baseline targets (initial)
- Cold start to first interactive screen: <= 2.5s on mid device.
- Chat list first render after app open: <= 1.2s with warm cache.
- Scroll in chat list/chat history: no visible jank in normal usage.
- Crash-free smoke run: 0 crashes / 0 ANRs.
## Commands
- Build: `./gradlew :app:assembleDebug`
- Unit tests: `./gradlew :app:testDebugUnitTest`
- Kotlin compile only: `./gradlew :app:compileDebugKotlin`