-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
44 lines (38 loc) · 924 Bytes
/
pytest.ini
File metadata and controls
44 lines (38 loc) · 924 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
[tool:pytest]
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output formatting and coverage settings
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
--durations=10
--cov=ml_teammate
--cov-report=term-missing
--cov-report=html:htmlcov
--cov-report=xml
--cov-fail-under=80
# Markers
markers =
unit: Unit tests
integration: Integration tests
performance: Performance benchmarks
error_handling: Error handling tests
slow: Slow running tests
fast: Fast running tests
# Test filtering
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning
# Minimum version requirements
minversion = 6.0
# Test timeout (when using pytest-timeout)
timeout = 300
# Parallel execution (when using pytest-xdist)
# addopts = -n auto