Framework Mode - Parametrize with IDs
Folder Structure
tests/ ├── test_math_operations.py ├── test_user_login.py └── conftest.py utils/ ├── calculator.py └── helpers.py pytest.ini requirements.txt
This is a simple pytest project structure. All test files are inside the tests/ folder. Utility code is in utils/. The conftest.py file holds shared fixtures and setup.