[2023] Tools: Robot Framework tools
Henrique Cardamone
Mid QA Engineer @ Sovos | SDET | QA Automation Engineer | Desktop/Web/Backend Testing | UI Automation | Automated Tests | Azure Pipelines | Robot Framework + Python
I have made some changes to improve the clarity and readability of your message:
I'm excited to share that my Robot Framework Foundation projects now benefit from two powerful tools in my #azure pipeline. A first tool is an auto-formatting tool called Robotidy, which makes it easy to format Robot Framework code. Once you install the tool, you can use it to autoformat all code in a project directory or just a specific file by running:
robotyd project-dir/ (to autoformatting all of robot framework code)
robotyd file.robot/ (to autoformatting a especif file that contain the robot framework code)
The second tool is Robocop, which performs static code analysis of Robot Framework code. While it may not be as simple to use as Robotidy, the tool's comprehensive documentation provides all the information you need to get started. To run the tool, simply use the command:
robocop?--reports?all,sarif
I find these tools incredibly useful for improving code quality and adhering to code standards. If you haven't heard of them before, I highly recommend giving them a try!
In addition, my pipeline also utilizes the #roboCopChatBot to receive notifications when the process is completed. This handy feature helps me stay informed and ensures that I never miss an update: