Repository navigation
Does the order of params in in parameterized tests guaranteed #13436
|
From here I could see there is paramitrize annotioantion for parametrized tests. For example: How to ensure that the order is test_1, test_2, test_3? |
Answered by
RonnyPfannschmidt
May 24, 2025
Replies: 1 comment 1 reply
|
there is no guarantee - by default pytest tries to maintain the given order |
1 reply
Answer selected by
Tusenka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
there is no guarantee - by default pytest tries to maintain the given order
however setup/teardown optimization as well as plugins like pytest-randomly or pytest-order make changes to test order