robotframework-robocop icon indicating copy to clipboard operation
robotframework-robocop copied to clipboard

Tool for static code analysis of Robot Framework language

Results 85 robotframework-robocop issues
Sort by recently updated
recently updated
newest added

From https://github.com/robotframework/robotframework/issues/4373 This require: 1) updating our visitors (so tags from Keywords Tags are visited and also setting related rules like naming ones does work on new setting) 2) refactoring...

### What happened? With the following sample file I get the check result: Snippets/Robcop-too-few-calls-in-keyword.robot:11:1 [W] 0502 Keyword 'Keyword With Some Logic' has too few keywords inside (0/1) (too-few-calls-in-keyword) In my...

bug

If you run Robocop by using python code, this is what it's returned: self.reports["json_report"].issues Imho it could be useful to report also the return_status (which is returned if you run...

enhancement

### What happened? Bug details When Using gherkin with a dot . And a ppp file '1.log' is loaded rule 0302 -c 0302:convention:first_word_capitalized Keyword is fine but Robocop complains with...

bug

Test case without keyword yields FAIL in RF. This might not be desired. So users should be guided to use a keyword or set the desired result by PASS, FAIL...

### What happened? Hello, Hopefully you can help me with this. As an example, let's image we have the following tree structure: > workspace > -- resources > ---- .robocop...

enhancement

If there was fatal issue in RF parsing module and somebody uses Robocop with older (bugged) version, Robocop will fail with Robot Framework stack trace. For example empty arguments cause...

enhancement

Robot Framework 5.0 introduce new syntax: TRY EXCEPT blocks. We need to handle them. Things to consider: 1. ~~Other rules should be able to access TRY, EXCEPT, FINALLY, ELSE blocks.~~...

Handle BREAK and CONTINUE. Possible rules (update old or create new): 1. Do not name keyword after reserved words (#570) 2. Do not use BREAK, CONTINUE outside FOR, WHILE or...

rule

[RF's documentation](http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#using-variables) reads: _Variable names can basically have any characters between the curly braces. However, using only alphabetic characters from a to z, numbers, underscore and space is recommended, and...