Repository navigation
Expand file tree
/
Copy pathpytest.ini
More file actions
75 lines (68 loc) · 1.97 KB
/
Copy pathpytest.ini
File metadata and controls
75 lines (68 loc) · 1.97 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[pytest]
# Test discovery
testpaths = tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test execution
addopts =
--tb=short
--strict-markers
--strict-config
-ra
--durations=10
--maxfail=5
-W ignore::DeprecationWarning
-W ignore::PendingDeprecationWarning
-W ignore::pytest.PytestDeprecationWarning
-W ignore::pytest.PytestUnknownMarkWarning
--asyncio-mode=auto
--disable-warnings
--color=yes
-q
# Markers
markers =
unit: Unit tests
integration: Integration tests
performance: Performance tests
slow: Slow running tests
smoke: Smoke tests
security: Security tests
authentication: Authentication security tests
authorization: Authorization security tests
input_validation: Input validation security tests
vulnerabilities: Security vulnerabilities tests
regression: Regression tests
asyncio: marks tests as async
e2e: End-to-end tests
workflow: Workflow tests
api: API tests
chat_lifecycle: Chat session lifecycle tests
database: Database integration tests
redis: Redis integration tests
service: Service layer tests
vector: Vector store tests
# Minimum version
minversion = 6.0
# Test output
console_output_style = progress
junit_family = xunit2
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Filters for warnings
filterwarnings =
ignore::pytest.PytestUnknownMarkWarning
ignore::UserWarning
ignore::DeprecationWarning
ignore::DeprecationWarning:jose.*
ignore::DeprecationWarning:qdrant_client.*
ignore:.*escape sequence.*:SyntaxWarning
ignore::pytest.PytestDeprecationWarning
ignore:Support for class-based.*:DeprecationWarning:pydantic.*
ignore:.*json_encoders.*:DeprecationWarning:pydantic.*
# Asyncio configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function