-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
47 lines (37 loc) · 1.05 KB
/
Copy pathpytest.ini
File metadata and controls
47 lines (37 loc) · 1.05 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
[pytest]
# Pytest Configuration for Python Traditional Autocomplete
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
--strict-markers
--color=yes
-ra
# Coverage options (if pytest-cov is installed)
# addopts = --cov=src --cov-report=html --cov-report=term
# Test paths
testpaths = tests
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
lsp: marks tests for LSP functionality
jupyter: marks tests for Jupyter functionality
performance: marks tests that measure performance
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Minimum Python version
minversion = 3.12
# Console output format
console_output_style = progress
# Timeout for tests (seconds) - if pytest-timeout is installed
# timeout = 300
# Parallel execution - if pytest-xdist is installed
# addopts = -n auto