Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13981

How to control test case execution order in pytest?

$
0
0

I have two files in a directory. In one of the files there is a long-running test case that generates some output. In the other file there is a test case that reads that output.

How can I ensure the proper execution order of the two test cases? Is there any alternative other than puting the test cases in the same file in the proper order?


Viewing all articles
Browse latest Browse all 13981

Trending Articles



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