| [pytest] | |
| DJANGO_SETTINGS_MODULE = config.settings.test | |
| python_files = test_*.py | |
| python_classes = Test* | |
| python_functions = test_* | |
| # Django settings | |
| addopts = | |
| --strict-markers | |
| --tb=short | |
| --nomigrations | |
| -v | |
| --cov=apps | |
| --cov-report=term-missing:skip-covered | |
| --cov-report=html | |
| --cov-fail-under=90 | |
| markers = | |
| unit: Unit tests (fast, isolated) | |
| integration: Integration tests (API + DB) | |
| e2e: End-to-end tests (full workflows) | |
| slow: Slow tests (run separately) | |
| deployment: Deployment verification tests | |
| testpaths = tests | |
| # Timeout | |
| timeout = 300 | |
| timeout_method = thread | |
| # Warnings | |
| filterwarnings = | |
| error | |
| ignore::DeprecationWarning | |
| ignore::PendingDeprecationWarning | |