-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpytest.ini
More file actions
70 lines (60 loc) · 1.64 KB
/
pytest.ini
File metadata and controls
70 lines (60 loc) · 1.64 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[pytest]
# Pytest configuration for Bob's Brain
# Directories to search for tests
testpaths = tests
# Patterns for test discovery
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Markers (can be used with -m flag)
markers =
unit: Unit tests (fast, no external dependencies)
integration: Integration tests (may require GCP, Agent Engine)
e2e: End-to-end tests (critical user workflows)
smoke: Smoke tests (post-deploy health checks)
contract: Contract tests (schema and A2A validation)
slack: Slack integration tests (requires Slack webhook)
slow: Slow-running tests (>5 seconds)
mcp: MCP server tests
arv: ARV (Agent Readiness Verification) tests
# Minimum Python version
minversion = 3.10
# Additional options
addopts =
--strict-markers
--strict-config
-ra
--showlocals
--tb=short
--timeout=60
# Asyncio mode (required for pytest-asyncio)
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Coverage options (when using --cov)
# See .coveragerc for full coverage configuration
# Test discovery patterns
norecursedirs =
.git
.nox
.venv
venv
env
__pycache__
archive
000-docs/.venv
htmlcov
.pytest_cache
.mypy_cache
# Console output options
console_output_style = progress
log_cli = false
log_cli_level = INFO
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:google.*
# Allow ResourceWarnings during async test cleanup (unclosed sockets, event loops)
ignore::ResourceWarning
ignore::pytest.PytestUnraisableExceptionWarning