Skip to content

Does the order of params in in parameterized tests guaranteed #13436

Answered by RonnyPfannschmidt
Tusenka asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tusenka
Comment options

Answer selected by Tusenka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants