31 lines
657 B
INI
31 lines
657 B
INI
; SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
|
|
;
|
|
; SPDX-License-Identifier: Apache-2.0
|
|
|
|
[tool:pytest]
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
addopts =
|
|
-v
|
|
--tb=short
|
|
--strict-markers
|
|
--disable-warnings
|
|
--cov=src/quickbot_cli
|
|
--cov-report=term-missing
|
|
--cov-report=html
|
|
--cov-report=xml
|
|
--cov-fail-under=95
|
|
--cov-config=tests/pytest.ini
|
|
markers =
|
|
unit: Unit tests
|
|
integration: Integration tests
|
|
slow: Slow running tests
|
|
cli: CLI specific tests
|
|
|
|
[coverage:report]
|
|
exclude_lines =
|
|
^if __name__ == .__main__.:$
|
|
^\s*main\(\)\s*$
|