Kuadrant / Kuadrant/testsuite-rptool
Refactor: rp_query.py
- Dominant language
- Python
- Stars
- 0
- Forks
- 3
- Avg merge
- 18h 10m
- Merged PRs (30d)
- 1
Description
rp_query.py is currently very experimental state, and still a lot of development is happening.
But the code structure is spaghetti. And it need a heavy refactoring, and some API optimizations.
as an example: #2 is one specific issue to address.
But then the whole `rp_query.run_query` main function could use a heavy refactoring, splitting functionality to Query Launches, and listing test cases, to be more maintainable.
- [ ] refactor `rp_query.run_query` split the functionality
- [ ] Optimize/extend any APIs to open reusing the code example #2
- [ ] Refactor any other large chunks of code
- [ ] Do update any related tests
Contributor guide
Research direction
Start by reading rp_query.py, especially the rp_query.run_query function, and review issue #2 for the referenced API case. Map the current responsibilities and related tests before deciding on separations. Done means the requested refactoring, API updates, and related test updates are completed, but the issue does not define a narrower target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100