Is --collect-only
is what you're looking for?
Generate the list of tests that pytest would have ran?
-
19-10-2022 - |
Question
We are interested in load balancing our pytests across many servers. To accomplish this we want to generate a list of the tests that py.test would have ran but not actually run the tests. We will then feed this list into a work queue. Is there any way in py.test to generate such a report?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow