CalejoControl/pytest-mock.ini

40 lines
819 B
INI
Raw Normal View History

[tool:pytest]
# Configuration for mock service tests
# Test discovery
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output formatting
addopts =
-v
--tb=short
--strict-markers
--strict-config
--disable-warnings
# Markers
markers =
mock: Tests that require mock services
scada: Tests for SCADA functionality
optimizer: Tests for optimizer functionality
integration: Integration tests
e2e: End-to-end tests
slow: Slow running tests
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Test timeout (seconds)
timeout = 30
# Coverage configuration (if coverage is installed)
# --cov=src
# --cov-report=term-missing
# --cov-report=html
# JUnit XML output (for CI/CD)
# junit_family = xunit2