Test naming conventions
Test naming conventions are important for the standardization and coherence of the tests. It also indicative of the quality of tests as the naming and placement of tests; and the use case scenarios indicate their order and relevance, which can be very useful when the tests are maintained in future.
Creating an execution order
In order to name tests, the Robot Framework is very peculiar; it uses the configuration file and folder names to determine the execution order and test naming.
For example, consider the following arrangement of different test files and folders in the test project in the file system:
application/
tests/
Test1.txt
Other tests/
Another test.txt
Running the pybot in the application folder will result in creation of different testsuites in the report based on the order of their presence in the file system. The following screenshot shows the file structure of a Robot Framework test:
After running, the tree command lists out the file/folder...