-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpytest.ini
More file actions
50 lines (43 loc) · 962 Bytes
/
pytest.ini
File metadata and controls
50 lines (43 loc) · 962 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
[pytest]
# Pytest Configuration for AI-SOC Testing
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Output options
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
--durations=10
--maxfail=5
# Markers
markers =
unit: Unit tests
integration: Integration tests
e2e: End-to-end tests
security: Security tests
load: Load/performance tests
browser: Browser/UI tests
slow: Tests that take >5 seconds
requires_ollama: Tests requiring Ollama LLM service
requires_docker: Tests requiring Docker
requires_gpu: Tests requiring GPU acceleration
# Coverage options
[coverage:run]
source = services
omit =
*/tests/*
*/venv/*
*/__pycache__/*
*/site-packages/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
[coverage:html]
directory = htmlcov