StockSense / pytest.ini
Spkapure's picture
feat: Final configuration for deployment
9a546cb
Raw History Blame Contribute Delete
835 Bytes
# pytest configuration file
[tool:pytest]
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output configuration
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
# Async configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Markers for test categorization
markers =
unit: Unit tests for individual components
integration: Integration tests requiring external services
api: API endpoint tests
slow: Tests that take longer to run
network: Tests that require network access
# Timeout settings
timeout = 300
# Coverage settings (optional)
# Uncomment to enable coverage reporting
# addopts =
# -v
# --cov=stocksense
# --cov-report=html
# --cov-report=term-missing