-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpytest.ini
More file actions
41 lines (35 loc) · 1.04 KB
/
pytest.ini
File metadata and controls
41 lines (35 loc) · 1.04 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
[tool:pytest]
# Test discovery
testpaths = tests/integrate
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers
markers =
integration: marks tests as integration tests (deselect with '-m "not integration"')
slow: marks tests as slow (deselect with '-m "not slow"')
auth: marks tests that require authentication
deployment: marks tests related to deployment functionality
monitoring: marks tests related to monitoring (logs, metrics, status)
domains: marks tests related to domain management
# Test output
addopts =
--strict-markers
--strict-config
--verbose
--tb=short
--durations=10
-ra
# Timeout
timeout = 300
# Coverage (if pytest-cov is installed)
# addopts = --cov=tests --cov-report=term-missing --cov-report=html
# Logging
log_cli = true
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
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning