Replies: 1 comment 1 reply
-
the subtests plugin allows to split tests into multiple steps with descriptions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I got a testcase where first you execute a one hour test and afterwards validate the results in multiple steps. The testdata comes from the same loop of the testcase, just different aspects of the testdata being validated in each validation step.
Visually that shows a single testcase but I think it could be improved.
I am unsure if the way that I have implemented is a nice-to-do way or It could be done in a more clean Pytest-ish way.
A class in Pytest is seen as a testsuite right? So if the testsuite itself executed the test, that would be incorrect? Or would that be acceptable?
Any better way of doing this?
Example of the concept:
Beta Was this translation helpful? Give feedback.
All reactions