-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
50 lines (39 loc) · 1.1 KB
/
pytest.ini
File metadata and controls
50 lines (39 loc) · 1.1 KB
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
46
47
48
49
[pytest]
# Pytest configuration for MCP server tests
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Markers for organizing tests
markers =
unit: Unit tests that test individual components in isolation
integration: Integration tests that test multiple components together
slow: Tests that take a long time to run
skip_ci: Tests to skip in CI environment
# Coverage options (if using pytest-cov)
addopts =
--strict-markers
--verbose
--tb=short
--maxfail=10
-ra
# Asyncio configuration
asyncio_mode = auto
# Warnings configuration
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Minimum Python version
minversion = 3.10
# Console output options
console_output_style = progress
# Log configuration
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Collect configuration
norecursedirs = .git .tox dist build *.egg htmlcov __pycache__ .pytest_cache node_modules