stemsplit-backend / pytest.ini
nifty-coder
Voice control
8cbe6eb
Raw History Blame Contribute Delete
1.21 kB
[tool:pytest]
# Pytest configuration for voice control optimization tests
# Test discovery
testpaths = voice_control/tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Async support
asyncio_mode = auto
# Output options
addopts =
--verbose
--tb=short
--strict-markers
--disable-warnings
--color=yes
# Markers for test categorization
markers =
unit: Unit tests for individual components
integration: Integration tests for component interactions
property: Property-based tests using Hypothesis
slow: Tests that take longer to run
provider: Tests specific to STT providers
cache: Tests for caching functionality
rate_limit: Tests for rate limiting functionality
audio: Tests for audio processing functionality
cost: Tests for cost monitoring functionality
# Minimum version requirements
minversion = 7.0
# Test timeout (in seconds)
timeout = 300
# Coverage options (if pytest-cov is installed)
# addopts = --cov=voice_control --cov-report=html --cov-report=term-missing
# Hypothesis settings
# These can be overridden by environment variables or profiles in conftest.py
hypothesis-seed = 42
hypothesis-verbosity = normal