Is there any plugin/API to maintain fixture scope/cache across the multiple test runs #8772
Unanswered
KrupalJoshi
asked this question in
Ideas
Replies: 1 comment 8 replies
-
this question needs more context typically with the exit of pytest, the python values of the fixtures get lost as the process containing them goes away |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to know is there any way (maintain cache, API) to re-use the fixture (for same set/values of parameters) across multiple test runs.
Purpose: To minimize time taking to run same fixture for same set/values of parameters while developing/debugging test case.
e.g.: Developing/debugging Test case. This test case using fixture. At first time fixture will get executed and then test case is starting execution. For any reason error/exceptions occurs and test case execution/runs get terminated. Run/debug the same test case here fixture will get call and executed this will needs some time. Instead of executing fixture again, if there is any way to cache/skip the fixture execution and re-use the fixture executed in previous run, it will save the time.
Beta Was this translation helpful? Give feedback.
All reactions