-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (32 loc) · 974 Bytes
/
pytest.ini
File metadata and controls
39 lines (32 loc) · 974 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
[pytest]
# Pytest configuration for Lexard
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers for categorizing tests
markers =
e2e: End-to-end tests (deselect with '-m "not e2e"')
unit: Unit tests
integration: Integration tests
slow: Tests that take a long time to run
requires_services: Tests that require Qdrant and Ollama services
requires_ollama: Tests that require Ollama LLM service
requires_qdrant: Tests that require Qdrant vector database
requires_api: Tests that require the API server running
# Test output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
-p no:cacheprovider
# Async support
asyncio_mode = auto
# Coverage options (if using pytest-cov)
# Uncomment to enable coverage reporting
# addopts = --cov=src --cov-report=html --cov-report=term
# Test paths
testpaths = tests
# Minimum Python version
minversion = 3.11