-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
53 lines (46 loc) · 1.14 KB
/
Copy pathpytest.ini
File metadata and controls
53 lines (46 loc) · 1.14 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
52
53
[pytest]
# Pytest configuration for PySpark testing
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Markers for organizing tests
markers =
unit: Unit tests - fast, isolated tests
integration: Integration tests - tests that interact with external systems
performance: Performance tests - tests that measure execution time
delta: Tests for Delta Lake functionality
iceberg: Tests for Iceberg functionality
unity_catalog: Tests for Unity Catalog functionality
slow: Tests that take a long time to run
# Output options
addopts =
-v
--strict-markers
--tb=short
--disable-warnings
--color=yes
--cov=.
--cov-report=html
--cov-report=term-missing
--cov-report=xml
--junit-xml=test-results/junit.xml
# Coverage settings
[coverage:run]
omit =
*/tests/*
*/venv/*
*/.venv/*
*/.history/*
*/.pytest_cache/*
*/virtualenv/*
*/__pycache__/*
*/site-packages/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
[coverage:html]
directory = test-results/htmlcov