MogensR's picture
Update tests/pytest.ini
7b77141
raw
history blame
1.13 kB
[pytest]
# Pytest configuration for BackgroundFX Pro
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
gpu: marks tests that require GPU
integration: marks integration tests
unit: marks unit tests
api: marks API tests
models: marks model-related tests
pipeline: marks pipeline tests
performance: marks performance tests
# Coverage
addopts =
--verbose
--strict-markers
--tb=short
--cov=.
--cov-report=html
--cov-report=term-missing
--cov-config=.coveragerc
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::FutureWarning:torch.*
# Timeout
timeout = 300
# Parallel execution (optional, requires pytest-xdist)
# addopts = -n auto
# Environment variables for testing
env =
TESTING = 1
DEVICE = cpu
LOG_LEVEL = WARNING