-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
46 lines (39 loc) · 1.13 KB
/
pytest.ini
File metadata and controls
46 lines (39 loc) · 1.13 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
[tool:pytest]
# Pytest configuration for Healthcare Data Platform
# Test discovery
testpaths = tests
python_files = test_*.py *_test.py
python_classes = Test* *Tests
python_functions = test_*
# Markers for test categorization
markers =
integration: Integration tests that require external dependencies
unit: Unit tests that run in isolation
performance: Performance tests with longer execution times
healthcare: Healthcare domain-specific tests
quality: Data quality validation tests
slow: Tests that take more than 5 seconds to run
databricks: Tests that require Databricks connection
spark: Tests that require Spark session
# Output configuration
addopts =
-v
--strict-markers
--strict-config
--tb=short
--cov=src
--cov-report=html:htmlcov
--cov-report=term-missing
--cov-fail-under=80
--durations=10
# Filter warnings
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Minimum version
minversion = 6.0
# Test timeout (in seconds)
timeout = 300
# Parallel execution (if pytest-xdist is installed)
# addopts = -n auto