-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
54 lines (45 loc) · 1.08 KB
/
Copy pathpytest.ini
File metadata and controls
54 lines (45 loc) · 1.08 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
[tool:pytest]
# Pytest configuration for CellSeeU
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Coverage options
addopts =
--verbose
--strict-markers
--cov=src
--cov-report=html
--cov-report=term-missing
--cov-fail-under=80
# Markers for organizing tests
markers =
unit: Unit tests for individual functions
integration: Integration tests for multiple components
security: Security and penetration tests
slow: Tests that take > 1 second
android: Android-specific tests (requires device/emulator)
# Coverage excludes
[coverage:run]
omit =
*/tests/*
*/test_*.py
*/__pycache__/*
*/venv/*
*/.venv/*
*/buildozer/*
*/.buildozer/*
[coverage:report]
exclude_lines =
# Exclude pragma statements
pragma: no cover
# Exclude defensive programming
raise AssertionError
raise NotImplementedError
# Exclude debug code
if __name__ == .__main__.:
if TYPE_CHECKING:
# Exclude abstract methods
@abstractmethod