-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpytest.ini
More file actions
45 lines (38 loc) · 1.01 KB
/
pytest.ini
File metadata and controls
45 lines (38 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
[pytest]
# pytest configuration for Phatch test suite
# Test discovery
testpaths = tests
python_files = *_test.py test_*.py
python_classes = Test*
python_functions = test_*
# Output options
console_output_style = progress
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
# Markers for different test types
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
requires_display: marks tests that require a display/GUI
requires_external: marks tests that require external tools (licensecheck, etc.)
acceptance: marks acceptance/integration tests
unit: marks unit tests
# Ignore patterns
norecursedirs =
.git
.pytest_cache
__pycache__
*.egg-info
build
dist
.venv
venv
# Coverage options (if pytest-cov is installed)
# Uncomment to enable coverage reporting
# addopts = --cov=phatch --cov-report=html --cov-report=term
# Minimum Python version
minversion = 3.8
# Doctest configuration
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS