Skip to content

Add automated test coverage#4

Merged
evanjt merged 9 commits into
mainfrom
tests
Jun 17, 2026
Merged

Add automated test coverage#4
evanjt merged 9 commits into
mainfrom
tests

Conversation

@evanjt

@evanjt evanjt commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Expands automated test coverage with no production-code changes. Tests use recorded fixtures, not the live API; distances are deterministic from the pure geo functions.

Android:

  • Logic — deterministic geo distances (Planta→Sion), Departure model, line-pill prefixes, JSON round-trips.
  • Widget logic — WidgetFavourites.block, WidgetFetchResult selection, refresh window.
  • Snapshots (Roborazzi, light + dark) — departure rows, tracking bar + formation, Paused screen.

iOS and Garmin follow on this branch.

@evanjt evanjt merged commit 11f5040 into main Jun 17, 2026
3 checks passed
@evanjt evanjt deleted the tests branch June 17, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant