Spaces:
Runtime error
Runtime error
File size: 1,212 Bytes
8cbe6eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | [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 |