[pytest] # pytest configuration for MCP orchestration project # Test discovery patterns python_files = test_*.py python_classes = Test* python_functions = test_* # Test paths testpaths = mcp-servers/*/tests tests # Output options addopts = -v --tb=short --strict-markers --color=yes --import-mode=importlib -ra # Ensure repository root packages (for example mega_orchestrator) are importable. pythonpath = . # Markers for categorizing tests markers = unit: Unit tests that don't require external dependencies integration: Integration tests that test multiple components security: Security-related tests performance: Performance and load tests slow: Tests that take significant time to run # Coverage options (when using pytest-cov) [coverage:run] source = . omit = */tests/* */test_* */__pycache__/* */venv/* */env/* [coverage:report] precision = 2 show_missing = True skip_covered = False # Minimum coverage percentage fail_under = 70