How can I run tests in parallel using pytest?

How can I run tests in parallel using pytest framework?

Hey Darran!

Just want to let you know that pytest by default doesn’t support parallel execution. However, there is a work-around which can be used; you will need to install the ‘Xdist’ plugin which will help you to run the tests in parallel.

You can use either of these commands to install the plugin : "pip install pytest-xdist" or "easy_install pytest-xdist"

Please refer to our guide for more detail: Run Cypress tests in parallel