56 lines
967 B
INI
56 lines
967 B
INI
[pytest]
|
|
# Pytest configuration for PDF Accessibility Checker
|
|
|
|
# Test discovery patterns
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Output options
|
|
addopts =
|
|
-v
|
|
--strict-markers
|
|
--tb=short
|
|
--cov=.
|
|
--cov-report=term-missing
|
|
--cov-report=html:htmlcov
|
|
-p no:warnings
|
|
|
|
# Test markers
|
|
markers =
|
|
integration: marks tests as integration tests (deselect with '-m "not integration"')
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
api: marks tests that require API access
|
|
|
|
# Ignore patterns
|
|
norecursedirs =
|
|
.git
|
|
.cache
|
|
venv
|
|
env
|
|
__pycache__
|
|
uploads
|
|
results
|
|
logs
|
|
htmlcov
|
|
READMEs
|
|
|
|
# Coverage settings
|
|
[coverage:run]
|
|
source = .
|
|
omit =
|
|
*/tests/*
|
|
*/venv/*
|
|
*/env/*
|
|
*/__pycache__/*
|
|
*/site-packages/*
|
|
setup.py
|
|
conftest.py
|
|
|
|
[coverage:report]
|
|
precision = 2
|
|
show_missing = True
|
|
skip_covered = False
|
|
|
|
[coverage:html]
|
|
directory = htmlcov
|