Framework Mode - Factory fixtures
Folder Structure
tests/
├── factories/
│ ├── __init__.py
│ ├── user_factory.py
│ └── product_factory.py
├── test_users.py
├── test_products.py
├── conftest.py
└── utils/
├── __init__.py
└── helpers.py
tests/
├── factories/
│ ├── __init__.py
│ ├── user_factory.py
│ └── product_factory.py
├── test_users.py
├── test_products.py
├── conftest.py
└── utils/
├── __init__.py
└── helpers.py
tests/factories/.conftest.py defines reusable pytest fixtures that use factories to provide test data to tests.test_users.py and test_products.py use fixtures to run tests with prepared data.tests/utils/..env files to store sensitive data like database URLs or API keys.conftest.py to register fixtures globally for all tests.--junitxml=report.xml to generate XML reports for CI tools.pytest-html for readable HTML reports.Where in this folder structure would you add a new factory fixture for creating Order objects?