-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
39 lines (34 loc) · 1.16 KB
/
pytest.ini
File metadata and controls
39 lines (34 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
# pytest.ini
[pytest]
# --------------------------------------------------------------------
# Project test configuration
# We use pytest.ini instead of pyproject.toml because
# of the large amount of norecursedirs and not wanting
# pyproject.toml to just be pages of ignores from each
# tool.
# --------------------------------------------------------------------
# Root test path
testpaths = tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
debug: marks tests as debug-only (skipped by default unless -k debug)
# Don't recurse into generated or build output directories
norecursedirs =
dist
tmp-dist
tmp
out
bin
build
.git
.venv
.cache
__pycache__
# Add src/ to sys.path for imports
pythonpath = src
# Show more context in assertion diffs (-s needed for early prints)
# Exclude pocket-build compatibility tests (to be migrated in Phase 5+6)
# Parallel execution: use -n auto to auto-detect CPU count, or -n N for N workers
# Note: parallel execution is opt-in via command line (not in addopts) to avoid
# issues with test isolation and shared resources
addopts = -ra -q --color=yes --show-capture=all --tb=short