34 lines
831 B
INI
34 lines
831 B
INI
[tool:pytest]
|
|
# Configurazione pytest per upo-appAI
|
|
|
|
# Directory dei test
|
|
testpaths = tests
|
|
|
|
# Pattern per trovare i file di test
|
|
python_files = test_*.py *_test.py
|
|
|
|
# Pattern per trovare le classi di test
|
|
python_classes = Test*
|
|
|
|
# Pattern per trovare le funzioni di test
|
|
python_functions = test_*
|
|
|
|
# Opzioni di default
|
|
addopts =
|
|
-v
|
|
--tb=short
|
|
--strict-markers
|
|
--disable-warnings
|
|
|
|
# Marker personalizzati
|
|
markers =
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
api: marks tests that require API access
|
|
coinbase: marks tests that require Coinbase credentials
|
|
cryptocompare: marks tests that require CryptoCompare credentials
|
|
integration: marks tests as integration tests
|
|
|
|
# Filtri per warnings
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::PendingDeprecationWarning |