Answer the question
In order to leave comments, you need to log in
How to run tests in parallel in Pytest to generate a report in Allure?
Good day!
The stack is used: Pytest + Selenium + Selenoid + Allure I
run tests, allure files are generated in alluredir, from which a report is then built. When running in 1 thread - everything is fine. But with a parallel run, the pandemonium begins:
* pytest-xdist - gait files are generated, but the report is not built from them. As I understood from the issue in the github, this is a known problem (and for a long time), but no one is in a hurry to fix it.
* pytest-parallel - Allure files are not generated at all.
Hence the question, how do people run parallel tests in Pytest, and then look at the reports in Allure? Not everyone invents bicycles for this. Share the way (=
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question