File size: 833 Bytes
54c5666 |
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 |
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
--color=yes
# Coverage options (when using pytest-cov)
# --cov=src
# --cov-report=html
# --cov-report=term-missing
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
gpu: marks tests that require GPU
distributed: marks tests that require distributed setup
# Ignore paths
norecursedirs =
.git
.venv
build
dist
*.egg
__pycache__
# Timeout for tests (requires pytest-timeout)
timeout = 300
# Minimum Python version
minversion = 3.9
|