-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpytest-parallel.ini
More file actions
58 lines (51 loc) · 1.35 KB
/
pytest-parallel.ini
File metadata and controls
58 lines (51 loc) · 1.35 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
[pytest]
# Configuration optimized for parallel execution
pythonpath = . kdp
testpaths = test
minversion = 6.0
# Parallel execution with pytest-xdist
addopts =
-n auto
--strict-markers
--strict-config
--tb=short
--durations=10
--timeout=300
--maxfail=10
--cov=kdp
--cov-report=term-missing:skip-covered
--cov-report=html:htmlcov
--cov-report=xml
--cov-fail-under=75
-ra
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test markers
markers =
unit: Unit tests that run quickly
integration: Integration tests that may take longer
slow: Tests that take a long time to run
fast: Tests that run very quickly
time_series: Time series specific tests
layers: Layer-specific tests
processor: Processor-specific tests
inference: Inference-related tests
performance: Performance benchmark tests
smoke: Quick smoke tests for CI
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:tensorflow.*
ignore::FutureWarning:tensorflow.*
ignore::RuntimeWarning:numpy.*
# Timeout settings
timeout = 300
timeout_method = thread
# Logging (reduced for parallel execution)
log_cli = false
log_cli_level = WARNING
# Test output
console_output_style = progress