-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (32 loc) · 922 Bytes
/
Copy pathpytest.ini
File metadata and controls
39 lines (32 loc) · 922 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
39
[tool:pytest]
# pytest configuration for ansible-argument-spec-generator
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output and formatting
addopts =
--strict-markers
--strict-config
--verbose
--tb=short
--showlocals
# Markers for test categorization
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
smoke: marks tests as smoke tests
edge_case: marks tests as edge case tests
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:yaml.*
# Minimum version
minversion = 6.0
# Test timeout (in seconds)
timeout = 300
# Coverage settings (when using pytest-cov)
# addopts = --cov=generate_argument_specs --cov-report=html --cov-report=term-missing