Robot framework linting for E2E tests
Proposers
- Gerardo García (Telefónica)
Description
Currently the writing of E2E Robot tests in OSM has a limited set of linting rules including the separation of keywords and args by three spaces, the use of spaces instead of tabs, the avoidance of spaces at the end of the line, and the Unix format for line termination. Those checks are currently run by the stage2 script devops-stages/stage-test.sh
.
This feature proposes the use of well known linters for Robot framework such as Robocop and Robotframework-lint to have a more strict check of the writing of E2E Robot tests, which should help in the maintenance of the E2E Robot tests.
All the tests and resources written in Robot will be properly adapted to meet the linting objectives of the selected tools, to be decided at the design phase.
Demo or definition of done
The linting checks will be added to the osm/tests repository and stage2 should pass. No end user documentation is expected since this won't affect end user.