[pytest]
testpaths = tests/python
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
--strict-markers
--cov=arrow_zerobus_sdk_wrapper
--cov-report=html:htmlcov
--cov-report=term-missing
--cov-report=xml
--cov-fail-under=90
-v
# PyO3 workaround: Use forked test execution to prevent GIL issues
# This ensures each test runs in isolation and prevents pytest from hanging
--forked
# Alternative: Use --boxed if pytest-forked is not available
# --boxed
markers =
integration: Integration tests that require external services
slow: Tests that take a long time to run
python: Tests that require Python bindings