Framework Mode - Why integration tests verify components together
Folder Structure
project-root/
├── src/
│ └── app_code.py
├── tests/
│ ├── unit/
│ │ └── test_module_unit.py
│ ├── integration/
│ │ └── test_module_integration.py
│ ├── conftest.py
│ └── fixtures.py
├── pytest.ini
└── requirements.txt
This structure separates unit tests and integration tests clearly. Integration tests live in tests/integration/ to verify how components work together.