Migration From One Testing Framework to Another
Some time ago (quite a long time actually), I joined a startup company that developed a storage system. This system had multiple interfaces available for end users — CLI, UI, and REST API. At first, there were only developers on this project. For big tests (end-to-end), they decided to choose Robot Framework — a popular solution with very extensive documentation. It supports so-called ‘keywords,’ allowing you to write tests in human-readable sentences and then execute them in the way you want:
*** Keywords ***
Open Login Page
Open Browser http://host/login.html
Title Should Be Login Page
Title Should Start With
[Arguments] ${expected}
${title} = Get Title
Should Start With ${title} ${expected}
*** Test Cases ***
Example
${rc} = Set Variable 1
WHILE ${rc} != 0
${rc} = Keyword that returns zero on success
END