-
Notifications
You must be signed in to change notification settings - Fork 164
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (32 loc) · 827 Bytes
/
pytest.ini
File metadata and controls
38 lines (32 loc) · 827 Bytes
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
[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