mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: Enhance test coverage (#4847)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
1b0dc75dfe
commit
06b9f8c77a
41 changed files with 1715 additions and 502 deletions
6
docs/testing/baseline_coverage.md
Normal file
6
docs/testing/baseline_coverage.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Baseline Test Coverage Report
|
||||
**Date:** Wednesday, March 18, 2026
|
||||
**Overall Project Coverage:** 8.796%
|
||||
**App Module Coverage:** 1.6404%
|
||||
|
||||
This baseline was captured using `./gradlew koverLog` at the start of the 'Expand Testing Coverage' track.
|
||||
18
docs/testing/final_coverage.md
Normal file
18
docs/testing/final_coverage.md
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Final Test Coverage Report
|
||||
**Date:** Wednesday, March 18, 2026
|
||||
**Overall Project Coverage:** 10.2591% (Baseline: 8.796%)
|
||||
**Absolute Increase:** +1.46%
|
||||
|
||||
## Module Highlights
|
||||
| Module | Coverage | Notes |
|
||||
| :--- | :--- | :--- |
|
||||
| `core:domain` | 26.55% | UseCase gap fill complete. |
|
||||
| `feature:intro` | 30.76% | ViewModel tests enabled. |
|
||||
| `feature:map` | 33.33% | BaseMapViewModel tests refactored. |
|
||||
| `feature:node` | 24.70% | Metrics, Detail, Compass, and Filter tests added/refactored. |
|
||||
| `feature:connections` | 26.49% | ScannerViewModel verified. |
|
||||
| `feature:messaging` | 18.54% | MessageViewModel verified. |
|
||||
|
||||
This report concludes the 'Expand Testing Coverage' track.
|
||||
Significant improvements were made in ViewModel testability through interface extraction and Mokkery/Turbine migration.
|
||||
Foundational logic in `core:network` was strengthened with Kotest property-based tests.
|
||||
Loading…
Add table
Add a link
Reference in a new issue