Framework Mode - Docker-based test execution
Folder Structure
my-pytest-project/ ├── tests/ │ ├── test_example.py │ └── __init__.py ├── src/ │ └── app_code.py ├── docker/ │ ├── Dockerfile │ └── entrypoint.sh ├── pytest.ini ├── requirements.txt └── README.md
This structure keeps tests in tests/, source code in src/, and Docker files in docker/.