-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
40 lines (35 loc) · 966 Bytes
/
pytest.ini
File metadata and controls
40 lines (35 loc) · 966 Bytes
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
[pytest]
# Pytest configuration for HtmlGraph
# Test discovery
testpaths = tests/python tests/benchmarks
python_files = test_*.py bench_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
-m "not external_api"
# Markers
markers =
ui: UI tests using Playwright (run with --headed to see browser)
backend: Backend/API tests
integration: Integration tests
slow: Slow-running tests
benchmark: Performance benchmarks
external_api: Tests that hit external APIs (Gemini, Codex, Copilot, Claude) and consume API limits
schemathesis: Property-based API tests using schemathesis
hypothesis: Property-based tests using hypothesis
# Coverage (if pytest-cov is installed)
[coverage:run]
source = src/python/htmlgraph
omit =
*/tests/*
*/test_*.py
[coverage:report]
precision = 2
show_missing = True
skip_covered = False