36 lines
721 B
INI
36 lines
721 B
INI
[tool:pytest]
|
|
# Pytest configuration for the deploy directory
|
|
testpaths =
|
|
jockey/tests
|
|
|
|
# Test discovery patterns
|
|
python_files = test_*.py *_test.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Output and verbosity
|
|
addopts =
|
|
--tb=short
|
|
-v
|
|
--strict-markers
|
|
--import-mode=importlib
|
|
|
|
# Custom markers
|
|
markers =
|
|
integration: marks tests as integration tests (may require external services)
|
|
unit: marks tests as unit tests (fast, isolated)
|
|
slow: marks tests as slow running
|
|
|
|
# Timeout settings
|
|
timeout = 300
|
|
timeout_method = thread
|
|
|
|
# Async support
|
|
asyncio_mode = auto
|
|
asyncio_default_fixture_loop_scope = session
|
|
|
|
# Python path setup
|
|
pythonpath = .
|
|
|
|
# Minimum version
|
|
minversion = 6.0 |