Framework Mode - Fixture factories
Folder Structure
tests/ ├── test_user.py ├── test_order.py ├── conftest.py utils/ ├── data_factories.py ├── helpers.py
tests/ ├── test_user.py ├── test_order.py ├── conftest.py utils/ ├── data_factories.py ├── helpers.py
utils/data_factories.py, this layer contains factory functions that create test data objects or test fixtures dynamically.conftest.py, it uses fixture factories to provide reusable test data or setup for tests.tests/ folder use fixtures to run test cases.utils/helpers.py support test logic and data creation.pytest.ini to select test environment (dev, staging, prod).pytest command line options or config files to select browsers or service endpoints.pytest built-in reporting with options like --junitxml=report.xml for CI systems.pytest-html for readable HTML reports.conftest.py fixtures to avoid duplication.Where in this framework structure would you add a new fixture factory for creating Product test data objects?