-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
74 lines (64 loc) · 1.6 KB
/
pytest.ini
File metadata and controls
74 lines (64 loc) · 1.6 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
[tool:pytest]
# Pytest configuration for HEAL onboarding system tests
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum version
minversion = 6.0
# Add options
addopts =
--strict-markers
--strict-config
--tb=short
--disable-warnings
--color=yes
--durations=10
--maxfail=5
-p no:qt
# Markers
markers =
unit: Unit tests for individual components
integration: Integration tests for system interactions
performance: Performance and benchmark tests
slow: Tests that take a long time to run
ui: Tests that require UI components
smoke: Quick smoke tests for basic functionality
stress: Stress tests for system limits
memory: Memory usage and leak tests
concurrent: Concurrency and thread safety tests
# Test timeout (in seconds)
timeout = 300
# Ignore certain warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:PySide6.*
ignore::RuntimeWarning:PySide6.*
# Coverage settings (when using pytest-cov)
[coverage:run]
source = src/heal/components/onboarding
omit =
*/tests/*
*/test_*
*/__pycache__/*
*/conftest.py
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
class .*\bProtocol\):
@(abc\.)?abstractmethod
show_missing = True
precision = 2
skip_covered = False
[coverage:html]
directory = htmlcov
title = HEAL Onboarding System Coverage Report