-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
55 lines (47 loc) · 1.42 KB
/
Copy pathpytest.ini
File metadata and controls
55 lines (47 loc) · 1.42 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
[pytest]
# Pytest configuration for fraud-detection-mcp
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum Python version
minversion = 7.0
# Add current directory to Python path
pythonpath = .
# Test output options
addopts =
--strict-markers
--strict-config
--showlocals
--cov=server
--cov-report=term-missing
--cov-fail-under=60
# Markers for categorizing tests
markers =
unit: Unit tests for individual functions
integration: Integration tests for complete workflows
slow: Tests that take significant time to run
network: Tests involving network/graph analysis
behavioral: Tests for behavioral biometrics
transaction: Tests for transaction analysis
explainability: Tests for SHAP-based explainability integration
synthetic: Tests for synthetic data generation and dataset analysis
benchmark: Benchmark tests
error: Tests for error handling
security: Tests for security utilities (sanitization, rate limiting)
velocity: Tests for user transaction history and velocity analysis
coverage: Coverage gap tests
signature: Tests for RFC 9421 / JWS / JWT signature verification (Tier 0.2-0.6 agent commerce)
# Coverage options
[coverage:run]
source = server
omit =
*/tests/*
*/venv/*
*/__pycache__/*
[coverage:report]
precision = 2
skip_empty = True
show_missing = True
[coverage:html]
directory = htmlcov