Kuadrant / Kuadrant/testsuite-rptool

rp_query.fetch_test_item should support filters as parameters.

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
0
Forks
3
Avg merge
18h 10m
Merged PRs (30d)
1

Description

Currently `rp_query.fetch_test_item` builds filters based only on global options, and it is not possible to reuse this call, with more specific filtering.

- [ ] add a filter parameter to the function that would be then applied
- [ ] refactor the default behavior of building filters from options to make it more reusable
- [ ] update related tests

Contributor guide

Open the contributing guide

Research direction

Start by locating `rp_query.fetch_test_item` and read the related tests to understand how global options currently build filters. Add support for a filter parameter while preserving the default behavior, then update the related tests to cover both custom filters and option-derived filters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.