Skip to content

MPT-19124 speed up tests#262

Merged
jentyk merged 2 commits intomainfrom
feat/MPT-19124
Mar 30, 2026
Merged

MPT-19124 speed up tests#262
jentyk merged 2 commits intomainfrom
feat/MPT-19124

Conversation

@jentyk
Copy link
Copy Markdown
Member

@jentyk jentyk commented Mar 30, 2026

Closes MPT-19124

  • Converted many pytest fixtures across the e2e test suite from function scope to session scope (fixtures now created once per test session and reused)
  • Scope changes applied across numerous conftest.py files under tests/e2e (including the top-level e2e conftest and multiple helpdesk, accounts, billing, catalog, commerce, notifications, audit, billing, and other module subdirectories)
  • Fixed pdf_fd fixture to use a context-managed yielding implementation (properly opening/closing the file handle while yielding the same file object)
  • Result: faster e2e test runs due to reduced fixture setup/teardown overhead

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants