How do I modify parameterized values in conftest and pass them to multiple testcases in pytest
The problem:
Let us say that there are 10 steps required for a process to complete. I start the steps of the process 1 by 1 and in between these steps, I would like to make different assertions. After each assertion, I proceed with the rest of the steps.
I want each of these assertion to happen as a test case. So if there are 5 assertions, I need 5 testcases. If there are 2 set of parameterized values, then I need to do 5 assertions each, so 10 testcases will be executed. I can put all the steps in a single test case itself, but I specifically want the assertions to be separate testcases.