-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
49 lines (40 loc) · 1.16 KB
/
pytest.ini
File metadata and controls
49 lines (40 loc) · 1.16 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
42
43
44
45
46
47
48
49
[pytest]
# Pytest configuration for ista
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Output options
addopts =
-v
--strict-markers
--tb=short
# Coverage options (requires pytest-cov: pip install pytest-cov)
# Uncomment these lines when running with coverage:
# --cov=ista
# --cov-report=term-missing
# --cov-report=html
# --cov-report=xml
# --cov-branch
# Minimum coverage threshold (can be increased over time)
# Fail if coverage falls below this percentage
# --cov-fail-under=80
# Markers for organizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
parser: marks tests related to parsers
serializer: marks tests related to serializers
bindings: marks tests for Python bindings
# Console output options
console_output_style = progress
# Timeout for tests (requires pytest-timeout: pip install pytest-timeout)
# timeout = 300
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning