I am trying to execute multiple pytest suites at a time i.e parallel execution using pytest-xdist package using pytest.
For example, I've two test suites
- test_one.py
- test_two.py
pytest test_one.py test_two.py -n 2
However, this is randomly reordering my tests in both test_one.py and test_two.py and running tests. Is there any way such that both tests suites run parallely but tests inside each suite in sequential manner ?