-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
41 lines (35 loc) · 900 Bytes
/
pytest.ini
File metadata and controls
41 lines (35 loc) · 900 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
41
[pytest]
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Markers for test categorization
markers =
unit: Unit tests for individual components
integration: Integration tests for SDK integration
e2e: End-to-end tests
slow: Tests that take longer to execute
async: Tests for async functionality
# Async support
asyncio_mode = auto
# Coverage settings
addopts =
--strict-markers
--verbose
--tb=short
--cov=src/whiteboxai
--cov-report=term-missing
--cov-report=html:coverage_html
--cov-fail-under=70
-ra
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Warning filters
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning