-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
35 lines (31 loc) · 795 Bytes
/
pytest.ini
File metadata and controls
35 lines (31 loc) · 795 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
[pytest]
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-ra
--strict-markers
--strict-config
--tb=short
-v
# Markers
markers =
smoke: Basic functionality tests
unit: Unit tests with mocked dependencies
integration: Integration tests with mocked HTTP
e2e: End-to-end tests requiring real server
benchmarks: Performance and benchmark tests
slow: Tests that take significant time
asyncio: Async tests
# Timeout (commented out as it requires pytest-timeout)
# timeout = 30
# timeout_method = thread
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::pytest.PytestUnraisableExceptionWarning