-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
61 lines (52 loc) · 1.31 KB
/
pytest.ini
File metadata and controls
61 lines (52 loc) · 1.31 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
[tool:pytest]
# Pytest configuration for GitFlow Analytics
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Async test support
asyncio_mode = auto
# Test markers
markers =
unit: Unit tests for individual components
integration: Integration tests across multiple components
tui: Terminal User Interface tests
cli: Command Line Interface tests
config: Configuration loading and validation tests
ml: Machine Learning and qualitative analysis tests
reports: Report generation tests
slow: Tests that take a long time to run
network: Tests that require network access
external: Tests that require external services (GitHub, JIRA, etc.)
# Output options
addopts =
--strict-markers
--strict-config
--tb=short
--disable-warnings
-ra
-v
# Minimum version
minversion = 6.0
# Test timeout (5 minutes for individual tests)
timeout = 300
# Coverage options (when --cov is used)
[coverage:run]
source = src/gitflow_analytics
omit =
*/tests/*
*/test_*
*/__pycache__/*
*/venv/*
*/env/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
show_missing = true
precision = 2