Consolidate route options tests
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 438
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
We currently have
https://github.com/mapbox/mapbox-java/blob/main/services-directions/src/test/resources/route_options_v5.json
and
https://github.com/mapbox/mapbox-java/blob/main/services-directions-models/src/test/resources/route_options_v5.json
which are identical and need to be maintained at the same time to run tests in 2 different modules. We need to consolidate the files to make maintenance easier.
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 the two identical resources: services-directions/src/test/resources/route_options_v5.json and services-directions-models/src/test/resources/route_options_v5.json. Check how tests in both modules locate the fixture, then consolidate the files so both test suites still run while only one copy requires maintenance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100