mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-01 01:27:42 +00:00
32 lines
652 B
INI
32 lines
652 B
INI
|
|
[pytest]
|
||
|
|
# Test discovery
|
||
|
|
testpaths = test
|
||
|
|
python_files = test_*.py
|
||
|
|
python_classes = Test*
|
||
|
|
python_functions = test_*
|
||
|
|
|
||
|
|
# Coverage settings
|
||
|
|
addopts =
|
||
|
|
--cov=rdagent/components/backtesting
|
||
|
|
--cov-report=term-missing
|
||
|
|
--cov-report=html:htmlcov
|
||
|
|
--cov-report=xml:coverage.xml
|
||
|
|
--cov-fail-under=80
|
||
|
|
-v
|
||
|
|
--tb=short
|
||
|
|
|
||
|
|
# Filter warnings
|
||
|
|
filterwarnings =
|
||
|
|
ignore::DeprecationWarning
|
||
|
|
ignore::PendingDeprecationWarning
|
||
|
|
|
||
|
|
# Logging
|
||
|
|
log_cli = false
|
||
|
|
log_cli_level = INFO
|
||
|
|
|
||
|
|
# Markers
|
||
|
|
markers =
|
||
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
||
|
|
integration: marks tests as integration tests
|
||
|
|
unit: marks tests as unit tests
|