promote logger and writer mock objects from pathfinder utils
Open
Nobody has claimed this yet.
code cleanup
feature
good first issue
testing
- Dominant language
- C++
- Stars
- 2.8k
- Forks
- 388
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 15
Description
Summary:
There are some generally useful testing classes in src/test/unit/services/pathfinder/util.hpp that'd be useful higher up. At that point, they should be renamed to something like mock_writer and mock_logger.
Description:
Also add doc.
Current Version:
v2.32.2
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 src/test/unit/services/pathfinder/util.hpp and inspect the logger and writer mock classes described in the issue. Trace where they are used, promote them to a higher-level location, rename them to mock_writer and mock_logger, and add the requested documentation; done means the shared mocks are available there under the new names.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100