docs(zh-CN): translate code block(plain text) (#753)

Co-authored-by: neo <neo.dowithless@gmail.com>
This commit is contained in:
zdoc.app
2026-03-23 06:39:24 +08:00
committed by GitHub
parent fd2a8edb53
commit 4f6f587700
118 changed files with 1807 additions and 1835 deletions

View File

@@ -120,10 +120,10 @@ fun `delete item emits updated list without deleted item`() = runTest { }
```
src/
├── commonTest/kotlin/ # Shared tests (ViewModel, UseCase, Repository)
├── androidUnitTest/kotlin/ # Android unit tests (JUnit)
├── androidInstrumentedTest/kotlin/ # Instrumented tests (Room, UI)
└── iosTest/kotlin/ # iOS-specific tests
├── commonTest/kotlin/ # 共享测试(ViewModelUseCaseRepository
├── androidUnitTest/kotlin/ # Android 单元测试(JUnit
├── androidInstrumentedTest/kotlin/ # 仪器化测试(RoomUI
└── iosTest/kotlin/ # iOS 专用测试
```
最低测试覆盖率:每个功能都需要覆盖 ViewModel + UseCase。