Spaces:
Sleeping
Sleeping
| [tool:pytest] | |
| # Pytest configuration file | |
| # Test discovery | |
| testpaths = tests | |
| python_files = test_*.py *_test.py | |
| python_classes = Test* | |
| python_functions = test_* | |
| # Output options | |
| addopts = | |
| --verbose | |
| --tb=short | |
| --strict-markers | |
| --strict-config | |
| --cov=src | |
| --cov=. | |
| --cov-report=term-missing | |
| --cov-report=html:htmlcov | |
| --cov-report=xml | |
| --cov-fail-under=80 | |
| --html=reports/report.html | |
| --self-contained-html | |
| --junitxml=reports/junit.xml | |
| # Markers | |
| markers = | |
| unit: Unit tests | |
| integration: Integration tests | |
| slow: Slow running tests | |
| api: API tests | |
| ui: UI tests | |
| smoke: Smoke tests | |
| regression: Regression tests | |
| performance: Performance tests | |
| security: Security tests | |
| # Filtering | |
| filterwarnings = | |
| ignore::UserWarning | |
| ignore::DeprecationWarning | |
| ignore::PendingDeprecationWarning | |
| # Minimum version | |
| minversion = 7.0 | |
| # Test timeout (in seconds) | |
| timeout = 300 | |
| # Parallel execution | |
| # Use with: pytest -n auto | |
| # Requires pytest-xdist | |
| # Asyncio mode | |
| asyncio_mode = auto |