TOOL ยป LINTER
Robocop
Usage โ
Static code analysis tool for Robot Framework.
shell
robocop OPTIONS PATH
Option | Description |
---|---|
-r --reports | Generate reports after scan. Use all to enable all reports. |
-l --list | List all available rules. |
-lc --list-configurables | List all available rules with configurable parameters. |
-o --output | Path 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