MarketSquare / MarketSquare/robotframework-robocop

[Rule] Overriden iterator

Open
#1,464 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

rule
Dominant language
Python
Stars
269
Forks
58
Avg merge
4h 55m
Merged PRs (30d)
45

Description

Warn if FOR iterator is overriden:

```
Override iterator
FOR ${item} IN @{list}
@{list} Set Variable stuff
END
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing rules that inspect Robot Framework FOR loops and their rule tests. Use the supplied “Override iterator” example as the initial reproduction case; done means the analyzer warns when a FOR iterator is reassigned within the loop.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.