mark question #8479
mark question
#8479
-
I have two test cases here with the same name, but the mark of each use case is different. After using the mark to execute the use case, only the second use case is always executed. May I ask: Must the use case name not be repeated? |
Beta Was this translation helpful? Give feedback.
Answered by
mrbean-bremen
Mar 22, 2021
Replies: 1 comment
-
If you use the same test name twice in the same scope, the second simply replaces the first one (as would be the case with any Python function, e.g. the new function is assigned to the name). This is independent of marks. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RonnyPfannschmidt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you use the same test name twice in the same scope, the second simply replaces the first one (as would be the case with any Python function, e.g. the new function is assigned to the name). This is independent of marks.