-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
59 lines (56 loc) · 1.54 KB
/
pytest.ini
File metadata and controls
59 lines (56 loc) · 1.54 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]
testpaths = src/tests
pythonpath = src
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--strict-markers
--import-mode=importlib
markers =
unit: Unit tests (Design 3.5)
integration: Integration tests (Design 3.5)
system: System/CLI smoke tests (Design 3.32)
ui: UI tests
performance: Performance tests
benchmark: Performance benchmarks (pytest-benchmark)
slow: Slow running tests
[coverage:run]
# Exclude legacy code, UI rendering, entry points, and hard-to-test modules (Design 2.8)
# Use ** for recursive matching so nested paths are excluded
omit =
**/legacy/**
**/exceptions/**
**/gui_app.py
**/main.py
**/bootstrap.py
**/ui/main_window.py
**/ui/widgets/**
**/ui/dialogs/**
**/update/**
**/utils/logger_helper.py
**/utils/error_handler.py
**/utils/performance_decorators.py
**/utils/crypto.py
**/utils/security.py
**/models/serialization.py
**/services/security_service.py
[coverage:report]
# Set precision for coverage reporting
precision = 2
show_missing = True
skip_covered = False
skip_empty = True
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain about missing debug-only code
def __repr__
# Don't complain if tests don't hit defensive assertion code
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run
if __name__ == .__main__.:
# Don't complain about abstract methods
@abstractmethod