-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
46 lines (40 loc) · 970 Bytes
/
pytest.ini
File metadata and controls
46 lines (40 loc) · 970 Bytes
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
[pytest]
# Pytest configuration for knowledge-bank-tools
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--cov=src
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-fail-under=25
# Test paths
testpaths = tests
# Coverage configuration
[coverage:run]
source = src
omit =
*/tests/*
*/test_*.py
*/__pycache__/*
*/venv/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING:
@abstractmethod
# Markers for categorizing tests
markers =
security: Security-related tests
integration: Integration tests requiring external resources
slow: Tests that take significant time to run
api: API endpoint tests requiring server