Framework Mode - PyTest vs unittest vs nose comparison
Folder Structure Comparison
PyTest Framework Structure: project_root/ ├── tests/ │ ├── test_example.py │ ├── conftest.py # fixtures and hooks │ └── data/ ├── src/ │ └── app_code.py ├── pytest.ini # pytest config └── requirements.txt unittest Framework Structure: project_root/ ├── tests/ │ ├── test_example.py # unittest.TestCase classes │ └── helpers.py ├── src/ │ └── app_code.py └── requirements.txt nose Framework Structure: project_root/ ├── tests/ │ ├── test_example.py # functions or unittest classes │ └── plugins/ ├── src/ │ └── app_code.py ├── setup.cfg # nose config └── requirements.txt