-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
56 lines (46 loc) · 1.17 KB
/
pytest.ini
File metadata and controls
56 lines (46 loc) · 1.17 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
47
48
49
50
51
52
53
54
55
56
[pytest]
# Pytest configuration for DTK Backend
# Set Python path to include backend directory
pythonpath = .
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Minimum version
minversion = 7.0
# Test output options
addopts =
-ra
--strict-markers
--strict-config
--showlocals
--tb=short
# Test paths - all tests organized in tests/ directory
testpaths =
tests
# Markers for organizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
camera: marks tests that require camera hardware
backend: marks tests for camera backends
# Ignore paths
norecursedirs =
.git
.venv
__pycache__
alembic
scripts
# Coverage options (if pytest-cov is installed)
# addopts = --cov=capture --cov=app --cov-report=html --cov-report=term
# Logging
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Warnings
filterwarnings =
error
ignore::UserWarning
ignore::DeprecationWarning