-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpytest.ini
More file actions
43 lines (38 loc) · 1.04 KB
/
pytest.ini
File metadata and controls
43 lines (38 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
42
43
[pytest]
markers =
unit: mark test as unit test
requires_ripgrep: mark test as requiring ripgrep (rg) command
requires_fd: mark test as requiring fd command
integration: mark test as integration test
performance: mark test as performance test
benchmark: mark test as benchmark test
slow: mark test as slow running
network: mark test as requiring network access
regression: mark test as regression test
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-n auto
--strict-markers
--strict-config
--verbose
--tb=short
--maxfail=10
--durations=10
--cov=tree_sitter_analyzer
--cov-report=term-missing
--cov-report=xml
--cov-report=html
# Minimum version
minversion = 6.0
# pytest-asyncio configuration (required for async tests with xdist)
asyncio_mode = auto
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:tree_sitter.*