Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97803

How to run parallel tests with pytest based on pytest.mark?

$
0
0

Currently my test suite runs the tests sequentially. I want to execute the tests in parallel by grouping the tests based on pytest.mark. For example consider I have grouped my test methods based on 3 markers -> A, B, C. A - 10 cases, B- 20 cases, C - 15 cases. I want to run 3 threads in parallel where each thread runs the test methods of each marker. How can this be achieved? Please advice.


Viewing all articles
Browse latest Browse all 97803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>