qaf python

23 views
Skip to first unread message

Anil Krishna

unread,
Feb 5, 2024, 8:11:45 PMFeb 5
to qaf users
Hi qaf users,

I am using Windows machine.
Can someone explain to me how to do a qaf python configuration to run two test cases at a time?

Thank you
Anil Kurapati

cjayswal

unread,
Feb 11, 2024, 7:10:11 PMFeb 11
to qaf users
You can use pytest-xdist. If you are using qaf-python-helloworld un-comment pytest-xdist in requirement.txt and install requirements
During execution provide number of workers using -n. For example:

pytest -n 2
or
pytest -n auto

Refer pytest-xdist and pytest usage for more details.
Reply all
Reply to author
Forward
0 new messages