-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
49 lines (39 loc) · 1.01 KB
/
pytest.ini
File metadata and controls
49 lines (39 loc) · 1.01 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
[pytest]
# Pytest configuration for CancerAg project
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Output options
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
# Markers
markers =
unit: Unit tests for individual functions/classes
integration: Integration tests for components
validation: Data validation tests
slow: Tests that take a long time to run
api: Tests that require external API calls
docking: Tests that require docking tools (Vina, OpenBabel)
# Coverage options (when using pytest-cov)
# Coverage threshold
# --cov-fail-under=70
# Min Python version
minversion = 7.0
# Warnings
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
# Timeout for tests (require pytest-timeout)
timeout = 300
# 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