Parallel Test Execution with Pytest - TestProject
blog.testproject.io › 2019/07/16 › parallel-testJul 16, 2019 · The only way to achieve truly continuous testing with web UI tests is to run them in parallel. Thankfully, that’s just a pytest plugin away. pytest-xdist lets you scale up by increasing the test thread count and scale out by distributing test execution to remote machines. Just be careful to avoid collisions in both the code and the system under test. Here’s how to run the example project with 4 test threads: