-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
45 lines (40 loc) · 883 Bytes
/
pytest.ini
File metadata and controls
45 lines (40 loc) · 883 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
[pytest]
# Pytest configuration for the server tests
testpaths = apps/server/tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Show extra test summary info
addopts =
-v
--strict-markers
--tb=short
; --disable-warnings
# Asyncio configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Markers for categorizing tests
markers =
unit: Unit tests
integration: Integration tests
api: API endpoint tests
model: Database model tests
service: Service layer tests
slow: Slow running tests
# Coverage settings
[coverage:run]
source = apps/server
omit =
*/tests/*
*/migrations/*
*/migrations/env.py
*/migrations/utils/*
*/__pycache__/*
*/venv/*
*/.venv/*
*/alembic.ini
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
skip_empty = True