Spaces:
Sleeping
Sleeping
File size: 1,054 Bytes
b9c68d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | [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 |