mapbox / mapbox/mapbox-navigation-android
Add tests for the interactions with `MapboxHistoryRecorder` in `MapboxNavigationTest`
Open
Nobody has claimed this yet.
jira-sync-complete
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
`NavigationComponentProvider`
Create a function here and wrap it in test the interactions.
The complicated part of this, is to handle test cases for `recreateNavigatorInstance`. Because we need to be able to recreate the navigator and update the HistoryRecorderHandle
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with NavigationComponentProvider and MapboxNavigationTest, then trace how MapboxHistoryRecorder is used during navigator creation. Add interaction coverage, including recreateNavigatorInstance and updating the HistoryRecorderHandle, and confirm the tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile-dev, testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100