Repository navigation
docs(backlog): add ViewModel interaction tests + Mockable evaluation entries - #155
Merged
Merged
Conversation
…entries
Two new foundations §Backlog entries from 2026-05-26 user discussion:
(A) Expand ViewModel interaction tests (no new dep):
- Real gap: snapshot covers state, but tap → navigate / tap → mutate
uncovered systematically
- Reuse existing RouteFactory protocol (PR #71) + swift-testing
protocol-injected fakes
- FakeRouteFactory ~15 LOC + per-VM ~30-60 LOC tests
- Trigger: navigation regressions / new View without interaction test
(B) Mockable framework evaluation (trigger-based, break-glass):
- Replace hand-rolled fakes with @mockable macro
- Third-party SDK — requires foundations §9 break-glass justification
- Trigger: 5+ large fakes / 3+ boilerplate review nits / SwiftUI preview
unification
- Other applications documented: SwiftUI #Preview injection, record/replay
capture mode, runtime mode switch, team naming convention
Closes the user's 2026-05-26 backlog framing question about UI interaction
test gap + Mockable evaluation.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two new `docs/foundations.md §Backlog` entries per 2026-05-26 user discussion about testing the 「button tap → navigate / count+=1」layer:
Both are backlog-only entries. No code changes.
Test plan
🤖 Generated with Claude Code