TOOL ยป LINTER

Robocop

Usage โ€‹

Static code analysis tool for Robot Framework.

shell
robocop OPTIONS PATH
OptionDescription
-r --reportsGenerate reports after scan. Use all to enable all reports.
-l --listList all available rules.
-lc --list-configurablesList all available rules with configurable parameters.
-o --outputPath to output file.

Configuration โ€‹

Options can be set in a file called .robocop.

shell
--reports all
--output robocop.log

Examples โ€‹

Check all files in current directory.

shell
robocop

Check all rules and their descriptions.

shell
robocop --list