mkorpela / pabot

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

Retry option #489

Open mkorpela opened 2 years ago

mkorpela commented 2 years ago

After failure, N times try again.

MarcinGmurczyk commented 2 years ago

using pabot combined with rebot is not sufficient? first run: pabot --testlevelsplit --processes 4 -L DEBUG --output run_parallel.xml -d results testdir/ second run: pabot --testlevelsplit --processes 4 -L DEBUG --rerunfailed results/run_parallel.xml --output rerun_parallel.xml testdir/ merge results: rebot -R --outputdir results/ --output run_parallel.xml --merge results/run_parallel.xml results/rerun_parallel.xml

I'm also thinking that running tests twice with two failures means that test needs to rewritten and running it for the 3,4,5th time is just some kind of anti-pattern.