-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
29 lines (25 loc) · 1.27 KB
/
pytest.ini
File metadata and controls
29 lines (25 loc) · 1.27 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
[pytest]
# ── Test Discovery ───────────────────────────────────────────
testpaths =
tests/unit
tests/integration
tests/regression
# ── Custom Markers ───────────────────────────────────────────
markers =
unit: Pure unit tests — no I/O, no network, no gateway bootstrap
integration: Integration tests — real subsystems, mocked LLM/encoder
regression: Regression tests — baseline comparison and crash detection
slow: Tests that may take >10 seconds
# ── Output & Logging ─────────────────────────────────────────
addopts =
-v
--tb=short
--timeout=60
--strict-markers
log_cli = true
log_cli_level = WARNING
log_format = %(asctime)s [%(levelname)s] %(name)s — %(message)s
log_date_format = %H:%M:%S
# ── Coverage (run via: pytest --cov=jarvis --cov-report=html:reports/coverage) ──
# addopts above does not include --cov by default to allow fast runs without coverage.
# Run coverage explicitly: pytest --cov=jarvis --cov-report=html:reports/coverage