-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathpytest.ini
More file actions
52 lines (44 loc) · 1.06 KB
/
pytest.ini
File metadata and controls
52 lines (44 loc) · 1.06 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
[pytest]
# Pytest configuration for biobankAccelerometerAnalysis
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum pytest version
minversion = 7.0.0
# Test paths
testpaths = tests
# Command line options
addopts =
-ra
--strict-markers
--strict-config
--showlocals
--tb=short
# Markers
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (slower, multiple components)
regression: Numerical regression tests (detect output changes)
slow: Slow tests (can be skipped with -m "not slow")
requires_java: Tests that require Java runtime
# Coverage options (when using pytest-cov)
[coverage:run]
source = src/accelerometer
omit =
*/tests/*
*/java/*
*/__init__.py
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
# Exclude lines from coverage
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstractmethod