Skip to content

Control the execution order of pytest #8243

Discussion options

You must be logged in to vote

The pytest_collection_modifyitems hook can be used to reorder,

You have to mark yours try last and then sort the items as you want

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ffbh123456
Comment options

You must be logged in to vote
0 replies
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