-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
33 lines (27 loc) · 727 Bytes
/
pytest.ini
File metadata and controls
33 lines (27 loc) · 727 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]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output configuration
addopts =
--strict-markers
--strict-config
--tb=short
--durations=10
# Async support
asyncio_mode = auto
# Markers for test categorization
markers =
unit: Unit tests for individual components
integration: Integration tests for component interactions
redis: Tests specifically for Redis backend functionality
slow: Tests that take longer to run
network: Tests that require network access
# Filtering
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore:.*pytest.*:UserWarning
# Minimum Python version
minversion = 3.8