-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
51 lines (45 loc) · 1.16 KB
/
Copy pathpytest.ini
File metadata and controls
51 lines (45 loc) · 1.16 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
[pytest]
# Pytest configuration for Scribe automation project
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Command-line options
addopts =
-v
--strict-markers
--tb=short
--maxfail=3
# Test markers for categorization
markers =
integration: Integration tests requiring API access
unit: Unit tests with no external dependencies
slow: Slow-running tests
mcp: Tests for MCP server functionality
vision: Tests requiring Anthropic vision API
# Logging configuration
log_cli = false
log_cli_level = INFO
log_file = tests/test_run.log
log_file_level = DEBUG
log_format = %(asctime)s %(levelname)s %(name)s: %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
# Coverage configuration (when using pytest-cov)
# Run with: pytest --cov=scripts --cov-report=html
[coverage:run]
source = scripts
omit =
tests/*
*/site-packages/*
*/__pycache__/*
[coverage:report]
# Fail if coverage is below this percentage
# fail_under = 80
exclude_lines =
pragma: no cover
def __repr__
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
if TYPE_CHECKING: