Framework Mode - Why organized tests scale with projects
Folder Structure
project-root/ ├── tests/ │ ├── unit/ │ │ ├── test_module1.py │ │ └── test_module2.py │ ├── integration/ │ │ ├── test_integration1.py │ │ └── test_integration2.py │ ├── e2e/ │ │ └── test_end_to_end.py │ └── conftest.py ├── src/ │ └── (application code) ├── utils/ │ ├── helpers.py │ └── fixtures.py ├── pytest.ini └── requirements.txt