-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
49 lines (40 loc) · 1007 Bytes
/
Copy pathpytest.ini
File metadata and controls
49 lines (40 loc) · 1007 Bytes
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
[pytest]
# Pytest configuration for Compresso test suite
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Minimum version
minversion = 7.0
# Python path configuration - add src directory
pythonpath = src
# Test paths
testpaths = tests/python
# Command line options
addopts =
-ra
--strict-markers
--strict-config
--showlocals
# Markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
parametrize: marks parameterized tests
benchmark: marks benchmark tests
# Coverage options (when using pytest-cov)
# Run with: pytest --cov=compresso --cov-report=html
[coverage:run]
source = src/compresso
omit =
*/tests/*
*/__pycache__/*
*/site-packages/*
[coverage:report]
precision = 2
show_missing = True
skip_covered = False
# Ignore warnings from dependencies
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning