Files
2025-12-11 17:28:23 +01:00

31 lines
594 B
INI

[pytest]
# Pytest configuration for Library Desk
# Test discovery
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Asyncio settings
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
# Markers for test categorization
markers =
unit: Unit tests (no external dependencies)
integration: Integration tests (require services)
slow: Slow tests that take more than 1 second
# Test paths
testpaths = tests
# Minimum Python version
minversion = 3.12