Skip to content

5.2. Robocop

Goal

  • It is always good to have an automated tool to check the syntax of your test code.
  • Run Robocop to check all your files.

Solution

Hints

Robocop is a static analysis tool which can be used to check your Robot Framework related files.

Click here to learn more about Robocop.

Results

Inside the tests folder, execute the following command.

1
robocop .

You can list all the available rules by executing the following command.

1
robocop --list

Last update: January 24, 2021