robotframework / robotframework/robotframework
"Remove Values From List" add option to use allow to use Regexp or Contain
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.9k
- Forks
- 2.6k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 10
Description
It would be useful to allow keyword "Remove Values From List" allow also to remove values using more loose selectors ex. Regexp or maybe Contains
Example use
where method allow
- std - standard functionality as before set as default
- contain - look in list that value contains string
- regex - full regular expression functionality
${list} Create List A1 A2 B1 B2 C1 C2
Remove Values From List ${list} method=contains A B
Remove Values From List ${list} method=regex ?2 C?
Remove Values From List ${list} method=std A1
Remove Values From List ${list} A1 A2
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 implementation and tests for the Remove Values From List keyword. Read how its current standard matching works, then determine how the requested contain and regex selectors should coexist with the default behavior. Done means the keyword supports the requested selectors, preserves existing calls, and has coverage for the examples in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100