velxio/pytest.ini

24 lines
872 B
INI

[pytest]
# Default test paths — only unit tests run by default (no QEMU / arduino-cli needed).
# To run integration tests: pytest test/backend/integration/ -v
# To run all backend tests: pytest test/backend/ -v
testpaths = test/backend/unit
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Custom markers
markers =
integration: requires QEMU binary and/or arduino-cli (deselect with -m "not integration")
e2e: requires a running backend server (JS tests, run manually with node)
# pytest-asyncio: strict mode means @pytest.mark.asyncio decorators are
# required for async tests (no implicit collection). Matches the
# explicit decorator usage in test_boot_images.py and avoids the
# deprecation warning that auto mode prints on every run.
asyncio_mode = strict
# Show short test summary for failures only
addopts = -v --tb=short