-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
46 lines (41 loc) · 1.24 KB
/
pytest.ini
File metadata and controls
46 lines (41 loc) · 1.24 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
[pytest]
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--color=yes
--maxfail=1
--disable-warnings
# Markers for test organization
markers =
atdd: Acceptance Test Driven Development tests (often RED/xfail until implemented)
unit: Unit tests (fast, isolated)
integration: Integration tests (database, file I/O)
slow: Slow tests (PDF parsing, report generation)
e2e: End-to-end workflow tests (CLI-level or cross-module integration)
performance: Performance-sensitive tests and NFR checks
parser: Statement parser tests
database: Database operation tests
categorization: Categorization logic tests
cli: CLI command tests
smoke: Smoke tests (critical paths)
real_pdf: Tests that require real/sample PDF files and external parsing dependencies (opt-in)
p0: Priority 0 (critical paths)
p1: Priority 1 (high priority)
p2: Priority 2 (medium priority)
p3: Priority 3 (low priority)
# Minimum Python version
minversion = 3.11
# Test output
console_output_style = progress
# Warnings
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning