[tool:pytest] # Pytest configuration for MetasploitMCP # Test discovery testpaths = tests python_files = test_*.py python_classes = Test* python_functions = test_* # Output and reporting addopts = -v --tb=short --strict-markers --disable-warnings --cov=MetasploitMCP --cov-report=term-missing --cov-report=html:htmlcov --cov-fail-under=80 # Async test support asyncio_mode = auto # Markers markers = unit: Unit tests for individual functions integration: Integration tests for full workflows slow: Tests that take longer to run network: Tests that require network access (disabled by default) # Minimum version minversion = 7.0 # Filter warnings filterwarnings = ignore::DeprecationWarning ignore::PendingDeprecationWarning ignore:.*unclosed.*:ResourceWarning