I want to execute only few certain test suites in certain fashion from the test directory and I have chosen ordering would be easier to group the tests and execute only certain tests from the entire test suite.
When executing, I notice that tests are not obeying the ordering file created, rather it just creates a .pabotsuitenames file. Test execution is such a way that it executes the tests from the ordering file and also from the remaining tests from entire suite.
Also, documentation has this command to start the execution of test under grouping
pabot --process 2 --ordering order.txt data_1
process command does not work. [option --process not recognized]
If my ordering file content is wrong, then the while executing the tests, the tests would not state about the executing Group_Tests specified in the ordering file. You can check the first 3 lines from the output.
For me your pabot file seems correct, except the --suite Tests.Folder3.Test4 that doesn’t exist in your case.
Then, I assume your ordering.txt is in test_pabot root file.
From here, as you might have seen in the shared link, the suites provided in ordering.txt are gathered depending of the file, but if you specify .\tests folder, it will:
Run pabot with 3 processes, and use the groups in ordering.txt
But as you mention ./tests folder (as robot start folder), it will run the other suites in the folder (not grouped as not mentioned in .txt)
I have the same as you and indeed it starts all the tests, and works only if you use this command to start :