pytest Fixtures and Plugin Interoperability: Managing Session-Scoped State
When integrating custom pytest plugins with session-scoped fixtures, there is a potential for state leakage across disparate test modules. While pytest ensures that session-scoped fixtures persist for the duration of the test run, the interaction between plugin-defined fixtures and local conftest.py definitions can create implicit dependencies. The primary g