Spaces:
Sleeping
Sleeping
| [pytest] | |
| # Pytest configuration for Evolution Todo backend tests | |
| # Test discovery patterns | |
| python_files = test_*.py | |
| python_classes = Test* | |
| python_functions = test_* | |
| # Test paths | |
| testpaths = tests | |
| # Coverage configuration | |
| addopts = | |
| # Verbose output | |
| -v | |
| # Show local variables in tracebacks | |
| -l | |
| # Show summary of all test outcomes | |
| -ra | |
| # Stop on first failure (useful during development, comment out for CI) | |
| # -x | |
| # Coverage reporting | |
| --cov=. | |
| --cov-report=html | |
| --cov-report=term-missing | |
| --cov-report=xml | |
| # Exclude patterns from coverage | |
| --cov-config=.coveragerc | |
| # Show warnings | |
| -W default | |
| # Async support | |
| --asyncio-mode=auto | |
| # Markers for test categorization | |
| markers = | |
| unit: Unit tests (fast, isolated, mocked dependencies) | |
| integration: Integration tests (database, external services) | |
| api: API endpoint tests (full HTTP request/response cycle) | |
| slow: Slow running tests | |
| voice: Voice transcription tests | |
| chat: Chat endpoint tests | |
| agent: AI agent tests | |
| mcp: MCP server tool tests | |
| # Timeout for individual tests (prevent hanging) | |
| timeout = 30 | |
| # Disable cacheprovider if causing issues | |
| # cache_dir = .pytest_cache | |
| # Log format | |
| log_cli = true | |
| log_cli_level = INFO | |
| log_cli_format = %(asctime)s [%(levelname)8s] %(message)s | |
| log_cli_date_format = %Y-%m-%d %H:%M:%S | |
| # Asyncio mode | |
| asyncio_mode = auto | |