-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
51 lines (42 loc) · 1.44 KB
/
pytest.ini
File metadata and controls
51 lines (42 loc) · 1.44 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
[tool:pytest]
# pytest configuration for pyNullstrap
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
--verbose
--tb=short
--strict-markers
--color=yes
--showlocals
# Markers (automatically configured in conftest.py, but listed here for reference)
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
model: marks tests for model classes
utils: marks tests for utility functions
cox: marks tests that require scikit-survival (skip on Windows)
# Minimum version (aligned with Python 3.10+ requirement)
minversion = 7.0
# Test timeout (in seconds) - requires pytest-timeout package
# Uncomment if pytest-timeout is installed via [test] dependencies
# timeout = 600
# timeout_method = thread
# Coverage options (when using pytest-cov)
# Use these with: pytest --cov=nullstrap
# Or via Makefile: make test-coverage
# addopts = --cov=nullstrap --cov-report=html --cov-report=term-missing
# Filter warnings - only suppress warnings from dependencies we cannot control
# NOTE: Avoid blanket suppression! Deprecation warnings help us stay up-to-date.
# Show all warnings by default (fix them instead of hiding them!)
filterwarnings =
default
# Display options
console_output_style = progress
# Log output
log_cli = false
log_cli_level = INFO