-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpytest.ini
More file actions
51 lines (44 loc) · 1.23 KB
/
Copy pathpytest.ini
File metadata and controls
51 lines (44 loc) · 1.23 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
[pytest]
# Pytest configuration for DeepSearchAgents
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Pytest options
addopts =
-v
--strict-markers
--tb=short
--asyncio-mode=auto
--cov=src
--cov-report=term-missing
--cov-report=html
--cov-report=xml
--cov-config=.coveragerc
--timeout=300
--timeout-method=thread
# Markers
markers =
unit: Unit tests for individual components
integration: Integration tests for component interactions
performance: Performance benchmarks
compatibility: Backward compatibility tests
slow: Tests that take a long time to run
requires_api: Tests that require external API access
requires_llm: Tests that require LLM API calls (timeout: 1200s)
requires_search: Tests that require search API calls (timeout: 600s)
timeout: Custom timeout marker
# Asyncio configuration
asyncio_mode = auto
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
error::UserWarning:src.*