-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (32 loc) · 953 Bytes
/
Copy pathpytest.ini
File metadata and controls
38 lines (32 loc) · 953 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
36
37
38
[pytest]
# STRICT QUALITY GATES - FAIL FAST ON VIOLATIONS
minversion = 8.0
addopts =
--strict-markers
--strict-config
--tb=short
--maxfail=3
-v
testpaths = tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Performance requirements for tests
# timeout = 300 # Requires pytest-timeout
# timeout_method = thread
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
property: marks tests as property-based tests
performance: marks tests as performance tests
# Async test configuration
asyncio_mode = auto
# Warnings configuration - treat warnings as errors for quality
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning:distutils.*
ignore::PendingDeprecationWarning
ignore::ImportWarning
# Coverage configuration is in pyproject.toml