-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpytest.ini
More file actions
85 lines (77 loc) · 2.5 KB
/
pytest.ini
File metadata and controls
85 lines (77 loc) · 2.5 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[pytest]
# Pytest configuration for Empathy Framework
# Test discovery
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Default options (for unit tests)
# -n 0: Sequential execution (parallel disabled to avoid import timing issues)
# --maxfail=20: Stop after 20 failures (fail fast)
# NOTE: Parallel execution disabled due to import timing issues with workflows package
# Exclude pre-existing/new failing tests (tracked for v4.0.3)
addopts =
--verbose
--tb=short
--strict-markers
-n 0
--maxfail=20
--ignore=tests/test_base_wizard_exceptions.py
--ignore=tests/test_wizard_api_integration.py
--ignore=tests/unit/memory/test_memory_architecture.py
--ignore=tests/unit/models/test_execution_and_fallback_architecture.py
--ignore=tests/unit/orchestration/test_composition_patterns.py
--ignore=tests/integration/
--ignore=tests/test_llm_integration.py
--ignore=tests/unit/orchestration/test_execution_strategies.py
--ignore=tests/unit/workflows/test_orchestrated_release_prep.py
--ignore=tests/unit/security/test_scanner_phase3_ast.py
# Asyncio settings (pytest-asyncio 1.3.0+)
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
asyncio_default_test_loop_scope = function
# Markers (for categorizing tests)
markers =
smoke: critical smoke tests for quick validation (run with '-m smoke')
slow: marks tests as slow (deselect with '-m "not slow"')
integration: integration tests that run CLI via subprocess (no coverage)
unit: unit tests that import modules directly (measured for coverage)
security: security-related tests
performance: performance-related tests
llm: tests that require LLM API access
network: tests that require network/internet access (skip in CI with '-m "not network"')
behavioral: behavioral tests (generated, user-facing behavior)
cli: CLI command tests (require mocking)
refactored: tests for refactored modules (batch11, batch12, batch13)
# Ignore paths
norecursedirs =
.git
.tox
dist
build
*.egg
__pycache__
.venv
venv
env
backend
wizards
anthropic-cookbook
10_9_2025_ai_nurse_florence
salvaged
site
ebook-site
website
examples/coach/lsp
vscode-extension
# Warnings
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::ImportWarning
# Output
console_output_style = progress
junit_family = xunit2