mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
476 stars 152 forks source link

Custom test execution ordering was not followed when --name option was included. #509

Closed Agent1997 closed 1 year ago

Agent1997 commented 1 year ago

Custom test execution ordering was not followed when --name option was included.

Sample Project Structure

-parallel --test1.robot --test2.robot --test3.robot --.pabotfile

Content of the .pabotfile --suite Parallel.Test1 --suite Parallel.Test3

WAIT

--suite Parallel.Test2

Sample script: pabot --ordering parallel/.pabotfile --processes 3 --outputdir=./log --name=CustomName parallel

Expected behavior: I was expecting that pabot should follow the ordering specified in .pabotfile but it did not.

Here is the generated .pabotsuitenames upon execution. (I removed the first four rows) --suite CustomName.Test1 --suite CustomName.Test2 --suite CustomName.Test3

Please let me know if this an expected behavior or not. Thank you.

mkorpela commented 1 year ago

Please try version 2.11.0 that allows partial suite names in ordering. Instead of --suite CustomName.Test1 use --suite Test1