-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
52 lines (45 loc) · 893 Bytes
/
pytest.ini
File metadata and controls
52 lines (45 loc) · 893 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
47
48
49
50
51
52
[pytest]
# Pytest configuration for AI Tutor tests
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Output options
addopts =
-v
--strict-markers
--tb=short
--cov=shared
--cov=services
--cov=managers
--cov-report=html
--cov-report=term-missing
--cov-fail-under=50
# Markers
markers =
unit: Unit tests
integration: Integration tests
slow: Slow running tests
security: Security-related tests
api: API endpoint tests
# Coverage options
[coverage:run]
source =
shared
services
managers
omit =
*/tests/*
*/migrations/*
*/__pycache__/*
*/venv/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
# Ignore warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning