Framework Mode - Why capturing output validates behavior
Folder Structure
tests/ ├── test_example.py ├── conftest.py utils/ ├── helpers.py pytest.ini
This simple structure keeps tests separate from utility code. tests/ holds test files. conftest.py contains shared fixtures. utils/ has helper functions.