-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpytest.ini
More file actions
54 lines (47 loc) · 1.26 KB
/
Copy pathpytest.ini
File metadata and controls
54 lines (47 loc) · 1.26 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
[pytest]
# Basic configuration
pythonpath = . kdp
testpaths = test
minversion = 6.0
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Default options for all test runs
addopts =
--strict-markers
--strict-config
--tb=short
--durations=10
--timeout=300
-ra
# 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
micro: Micro tests (fastest)
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
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Test output
console_output_style = progress