robotframework-tidy
robotframework-tidy copied to clipboard
Robotidy ruleset conflicting with robocop/styleguide
I have a testcase in which I use [Template] and a [Setup], like this example:
Case One [Documentation] datadriven testcase via test-template [Setup] Log Setup console [Template] A Template Just a keyword in testcase One [Teardown] Log Teardown console
But when I run robotidy on my commandline it tells me that [Template] should be before [Setup]. (Well actually it 'fixes' the order automatically).
And then when I run robocop on my commandline I get this message: [W] 0927 'SETUP' is in wrong place of Test Case. Recommended order of elements in Test Cases: DOCUMENTATION, TAGS, TIMEOUT, SETUP, TEMPLATE, KEYWORD, TEARDOWN (test-case-section-out-of-order) These styles seem to contradict each other.... in Slack I was told that Robocop uses the correct order so it would be nice to have robotidy use that same order...
(I know I can just configure tidy to use the same order as robocop but that is impractical)