-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
87 lines (73 loc) · 1.62 KB
/
Copy pathpytest.ini
File metadata and controls
87 lines (73 loc) · 1.62 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
86
87
[tool:pytest]
# Pytest configuration for BlastDock
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test markers
markers =
unit: Unit tests
integration: Integration tests
performance: Performance tests
slow: Slow running tests
docker: Tests requiring Docker
network: Tests requiring network access
# Minimum version
minversion = 6.0
# Add options
addopts =
--strict-markers
--strict-config
--tb=short
-ra
--cov-report=term-missing
--cov-branch
--cov=blastdock
--cov-fail-under=100
# Console output
console_output_style = progress
# Log configuration
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Capture configuration
log_capture = true
log_level = DEBUG
# Warning filters
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:docker.*
ignore::UserWarning:urllib3.*
# Test timeout (in seconds)
timeout = 300
# Parallel execution
# Uncomment to enable parallel testing (requires pytest-xdist)
# -n auto
# Coverage configuration
[coverage:run]
source = blastdock
omit =
tests/*
*/venv/*
*/env/*
*/__pycache__/*
*/migrations/*
*/settings/*
setup.py
*/site-packages/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstract
show_missing = true
precision = 2
[coverage:html]
directory = htmlcov