Framework Mode - tmp_path and tmp_path_factory
Folder Structure
tests/
├── test_example.py
├── conftest.py
└── resources/
└── sample_data.txt
This simple structure keeps test files in tests/. The conftest.py file holds shared fixtures. The resources/ folder stores static files for tests.