chore(deps, markers): add sqlite-vec dep, e2e_fast marker

- Add sqlite-vec>=0.1.0 to vector optional deps
- Add e2e_fast marker for quick E2E tests
This commit is contained in:
LLLin000 2026-07-09 17:12:48 +08:00
parent 2b23ad716f
commit 970f147d59

View file

@ -48,6 +48,7 @@ test = [
vector = [
"chromadb>=0.5.0",
"openai>=1.0.0",
"sqlite-vec>=0.1.0",
]
[project.scripts]
@ -74,7 +75,6 @@ paperforge = [
[tool.pytest.ini_options]
addopts = "--ignore=tests/sandbox/00_TestVault/ --strict-markers"
testpaths = ["tests/unit", "tests/cli", "tests/e2e", "tests/journey", "tests/chaos", "tests/audit", "tests/integration"]
markers = [
"unit: Unit tests (Level 1) — fast, isolated",
"cli: CLI contract tests (Level 2) — subprocess boundary",
@ -83,10 +83,10 @@ markers = [
"chaos: Destructive tests (Level 6) — abnormal scenarios",
"audit: Consistency audit tests — validate L1 mocks against L4 real pipeline output",
"integration: Integration tests — multi-component workflows",
"e2e_fast: E2E tests that run quickly (seconds), tagged after fixture setup",
"slow: Tests that take >30s (skip during development)",
"snapshot: Tests that use snapshot comparison",
]
[tool.ruff]
target-version = "py310"
line-length = 120