Spaces:
Running
Running
File size: 684 Bytes
a686b1b |
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 |
[pytest]
# Pytest configuration
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Coverage options
addopts =
--verbose
--cov=src
--cov=ui
--cov-report=html
--cov-report=term-missing
--cov-report=xml
--cov-fail-under=85
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
requires_db: marks tests that require database connection
requires_api: marks tests that require external API
# Ignore warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
|