how can i change the parameterized value when excute the testcase #8063
Unanswered
sinaparker
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I took the freedom to convert this to a discussion, since this is a question rather than an issue in pytest. I don't think there's a way to do this at the moment - like you say, collection happens before execution of the tests. What problem are you trying to solve exactly? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,I have a question like below
i have set a global varible ,but i have change it according excute the test case and return a new value
how can i use the new value for the below cases,because pytest collected the values before it excute the cases
code like
the output:
the parameterized value is not xxx but aaa
is there a method i can use the updated value like xxx ? ths for your reply!!!
Beta Was this translation helpful? Give feedback.
All reactions