mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: Integrate Mokkery and Turbine into KMP testing framework (#4845)
This commit is contained in:
parent
df3a094430
commit
dcbbc0823b
159 changed files with 1860 additions and 2809 deletions
|
|
@ -31,7 +31,7 @@ Created `core:testing` as a lightweight, reusable module for **shared test doubl
|
|||
```
|
||||
core:testing
|
||||
├── depends on: core:model, core:repository
|
||||
├── depends on: kotlin("test"), mockk, kotlinx.coroutines.test, turbine, junit
|
||||
├── depends on: kotlin("test"), kotlinx.coroutines.test, turbine, junit
|
||||
└── does NOT depend on: core:database, core:data, core:domain
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@ KMP Migration Timeline
|
|||
### Before KMP Testing Consolidation
|
||||
```
|
||||
Each module had scattered test dependencies:
|
||||
feature:messaging → libs.junit, libs.mockk, libs.turbine
|
||||
feature:node → libs.junit, libs.mockk, libs.turbine
|
||||
core:domain → libs.junit, libs.mockk, libs.turbine
|
||||
feature:messaging → libs.junit, libs.turbine
|
||||
feature:node → libs.junit, libs.turbine
|
||||
core:domain → libs.junit, libs.turbine
|
||||
↓
|
||||
Result: Duplication, inconsistency, hard to maintain
|
||||
Problem: New developers don't know testing patterns
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue