All Projects → boakley → Robotframework Lint

boakley / Robotframework Lint

Licence: apache-2.0
Linter for robot framework plain text files

Projects that are alternatives of or similar to Robotframework Lint

botcity-framework-core-python
BotCity Framework - Python
Stars: ✭ 28 (-72%)
Mutual labels:  robotframework
RobotDemo
Robot Framework demo
Stars: ✭ 72 (-28%)
Mutual labels:  robotframework
Allure Python
Allure integrations for Python test frameworks
Stars: ✭ 387 (+287%)
Mutual labels:  robotframework
metadatamanagement
Metadatamanagement (MDM) - Data Search for Higher Education Research and Science Studies
Stars: ✭ 21 (-79%)
Mutual labels:  robotframework
WebDemo
Robot Framework web testing demo using SeleniumLibrary
Stars: ✭ 161 (+61%)
Mutual labels:  robotframework
acceptance-testing
Acceptance test suite for the Helm client
Stars: ✭ 22 (-78%)
Mutual labels:  robotframework
robotframework-historic
Robotframework-historic is a free, custom html report which provides historical robotframework execution results by storing execution results info in MySQL database and generate's html reports (charts / statistics) from database using Flask.
Stars: ✭ 70 (-30%)
Mutual labels:  robotframework
Seleniumlibrary
Web testing library for Robot Framework
Stars: ✭ 1,011 (+911%)
Mutual labels:  robotframework
robotframework-aristalibrary
Robot Framework library for Arista EOS
Stars: ✭ 14 (-86%)
Mutual labels:  robotframework
Mastering ros
This repository contains exercise files of the book "Mastering ROS for Robotics Programming"
Stars: ✭ 351 (+251%)
Mutual labels:  robotframework
robot-framework-docker
Docker image to run robot framework acceptance testing in a docker container
Stars: ✭ 24 (-76%)
Mutual labels:  robotframework
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (-34%)
Mutual labels:  robotframework
Robotframework Appiumlibrary
AppiumLibrary is an appium testing library for RobotFramework
Stars: ✭ 259 (+159%)
Mutual labels:  robotframework
robotframework-imagehorizonlibrary
Cross-platform Robot Framework library for GUI automation based on image recognition
Stars: ✭ 67 (-33%)
Mutual labels:  robotframework
Robotframework
Generic automation framework for acceptance testing and RPA
Stars: ✭ 6,534 (+6434%)
Mutual labels:  robotframework
robotframework-robocop
Tool for static code analysis of Robot Framework language
Stars: ✭ 112 (+12%)
Mutual labels:  robotframework
robotframework-httprequestlibrary
Robot Framework's library to test REST interfaces utilizing Apache HttpClient
Stars: ✭ 20 (-80%)
Mutual labels:  robotframework
Course Robotframework
Workshop and Example of Robot Framework course
Stars: ✭ 90 (-10%)
Mutual labels:  robotframework
Npp Robot
📝 Notepad++ syntax highligher for Robotframework automation framework
Stars: ✭ 25 (-75%)
Mutual labels:  robotframework
Red
RED - Robot Editor
Stars: ✭ 310 (+210%)
Mutual labels:  robotframework

Welcome to Robot Framework Lint

Static analysis for robot framework plain text files.

This is a static analysis tool for robot framework plain text files.

Installation Instructions

The preferred method of installation is to use pip:

$ pip install --upgrade robotframework-lint

This will install a package named "rflint", and an executable named "rflint"

Running the linter

To run, use the command "rflint", or use the -m option to python to run the rflint module. Add one or more filenames as arguments, and those files will be checked for rule violations.

Custom rules

Rules are simple python classes. For more information about how to write rules, see the robotframework-lint wiki

Argument files

rflint supports argument files much in the same way as robot framework. You can put arguments one per line in a file, and reference that file with the option -A or --argument-file.

Argument files are a convenient way to create a set of rules and rule configurations that you want to apply to your files.

Examples

$ rflint myTestSuite.robot

To see a list of all of the built-in rules, run the following command

$ rflint --list

To see documentation, add the --verbose option:

$ rflint --list --verbose

Some rules are configurable. For example, to configure the "LineTooLong" rule to flag lines longer than 80 characters (the default is 100), you can change the default value with the configure option:

$ rflint --configure LineTooLong:80 myTestSuite.robot

You can disable any rule, or configure it to be a warning or error with the options --warning, --error and --ignore. For example, to ignore the LineTooLong rule you can do this:

$ rflint --ignore LineTooLong myTestSuite.robot

To see a list of all command line options, use the --help option:

$ python -m rflint --help

Example output:

$ python -m rflint myTestSuite.robot
+ myTestSuite.robot
W: 2, 0: No suite documentation (RequireSuiteDocumentation)
E: 15, 0: No keyword documentation (RequireKeywordDocumentation)

This show a warning on line two, character 0, where there should be suite documentation but isn't. It also shows an error on line 15, character 0, where there should be keyword documentation but there isn't.

Acknowledgements

A huge thank-you to Echo Global Logistics (http://www.echo.com) for supporting the development of this package.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].