-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
58 lines (52 loc) · 1.34 KB
/
pytest.ini
File metadata and controls
58 lines (52 loc) · 1.34 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
[pytest]
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test discovery paths
testpaths = tests
# Markers for test organization
markers =
unit: Unit tests for individual components
integration: Integration tests for component interactions
e2e: End-to-end tests for complete workflows
slow: Tests that take longer to execute
fast: Quick tests for rapid feedback
wallet: Tests involving wallet operations
blockchain: Tests involving blockchain interactions
contract: Tests for smart contract functionality
trading: Tests for trading functionality
communication: Tests for agent communication
x402: Tests for X402 protocol
langgraph: Tests for LangGraph optimization
scalability: Tests for system scalability
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
-ra
--cov=src
--cov-report=term-missing
--cov-report=html
--cov-report=xml
--asyncio-mode=auto
# Asyncio configuration
asyncio_mode = auto
# Coverage options
[coverage:run]
source = src
omit =
*/tests/*
*/test_*.py
*/__pycache__/*
*/site-packages/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstractmethod