-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpytest.ini
More file actions
57 lines (49 loc) · 1.48 KB
/
pytest.ini
File metadata and controls
57 lines (49 loc) · 1.48 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
50
51
52
53
54
55
56
57
# pytest.ini — RootInteractive Test Configuration
#
# Phase: 0.1.A
# Date: 2026-02-02
[pytest]
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test*
# NOTE: We explicitly use test_* (with underscore) to avoid collecting
# functions like testBokehClient0() which don't follow standard naming.
# If you want to collect those too, change to: python_functions = test*
# Ignore certain directories
norecursedirs =
.git
.tox
node_modules
files
build
dist
*.egg-info
__pycache__
# Default options
addopts =
-v
--tb=short
--strict-markers
# Markers (also registered in conftest.py, but good to have here too)
markers =
feature(name): Feature ID from FEATURE_TAXONOMY
backend(name): Backend required (python, node, browser)
layer(name): Test layer (unit, integration, invariance, vector)
p0: Priority 0 - critical/blocking
p1: Priority 1 - important/required
p2: Priority 2 - nice to have
cross_backend: Test requires both Python and JavaScript execution
slow: Mark test as slow-running
regression(pr): Regression test for a specific PR
gui: Test creates GUI/visualization
unittest: Unit test marker (legacy)
# Timeout for tests (requires pytest-timeout)
# timeout = 300
# Parallel execution (requires pytest-xdist)
# Run with: pytest -n auto
# Or specify workers: pytest -n 4
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning