robotframework-style-guide icon indicating copy to clipboard operation
robotframework-style-guide copied to clipboard

Keyword Level Rules

Open MiikkaSolmela opened this issue 2 years ago • 0 comments

Rules to describe:

  • Max. number of KW calls in a KW
  • Number of FOR/WHILE loops
  • Number of IF/TRY
  • Data creation in Keywords: size of dicts, lists move to args or other keyword
  • https://robocop.readthedocs.io/en/stable/rules_list.html#missing-doc-keyword-w0201
  • https://robocop.readthedocs.io/en/stable/rules_list.html#wrong-case-in-keyword-name-w0302
  • https://robocop.readthedocs.io/en/stable/rules_list.html#keyword-name-is-reserved-word-e0303
  • https://robocop.readthedocs.io/en/stable/rules_list.html#underscore-in-keyword-name-w0305
  • https://robocop.readthedocs.io/en/stable/rules_list.html#keyword-name-is-empty-e0312
  • https://robocop.readthedocs.io/en/stable/rules_list.html#missing-keyword-name-e0403
  • https://robocop.readthedocs.io/en/stable/rules_list.html#too-long-keyword-w0501
  • https://robocop.readthedocs.io/en/stable/rules_list.html#too-few-calls-in-keyword-w0502
  • https://robocop.readthedocs.io/en/stable/rules_list.html#too-many-calls-in-keyword-w0503
  • Review Robocop and Robotidy for additional rules

MiikkaSolmela avatar Oct 04 '22 14:10 MiikkaSolmela