-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
33 lines (29 loc) · 963 Bytes
/
Copy pathpytest.ini
File metadata and controls
33 lines (29 loc) · 963 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
[pytest]
# Test discovery
testpaths = test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
# Timeout for tests (5 minutes default, can be overridden with @pytest.mark.timeout)
timeout = 300
# Coverage options (when using pytest-cov)
# --cov = .
# --cov-report = html
# --cov-report = term-missing
# Markers for test categorization
markers =
unit: Unit tests without external dependencies
e2e: End-to-end tests that start Docker MySQL/ClickHouse
integration: Integration tests that require database connections
slow: Tests that take a long time to run
crash: Tests that involve crashing/restarting processes
network: Tests that simulate network failures
stress: Stress tests with high load
notifications: Tests that send notifications
reliability: Tests that verify system reliability and crash recovery