32 lines
710 B
INI
32 lines
710 B
INI
[tool:pytest]
|
|
# Python test discovery settings
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Output formatting
|
|
addopts =
|
|
--verbose
|
|
--tb=short
|
|
--strict-markers
|
|
--disable-warnings
|
|
--cov=src
|
|
--cov-report=term-missing
|
|
--cov-report=html:htmlcov
|
|
--cov-fail-under=80
|
|
|
|
# Custom markers
|
|
markers =
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
integration: marks tests as integration tests
|
|
unit: marks tests as unit tests
|
|
web: marks tests that require web access
|
|
|
|
# Minimum Python version
|
|
minversion = 6.0
|
|
|
|
# Filter warnings
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::PendingDeprecationWarning |