Pytest order with parallel test execution #108
albertino87
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Did you check the documentation? |
Beta Was this translation helpful? Give feedback.
0 replies
-
yes I did, but that doesn't really solve the problem. I don't have a dependency problem. I don't care that all the test in one file run in the same thread. I only want that two very slow tests (in two different modules) run first. i don't see how that solves my problem |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
to maximize the running efficiency of the tests running in parallel it is important that the slower tests run first, and i do it by marking the tests with the decorator @pytest.mark.order(0) from the pytest-order library. however this is not respected by xdist, can you possibly fix it?
Beta Was this translation helpful? Give feedback.
All reactions