This commit is contained in:
30
tests/pytest.ini
Normal file
30
tests/pytest.ini
Normal file
@@ -0,0 +1,30 @@
|
||||
; SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
|
||||
;
|
||||
; SPDX-License-Identifier: MIT
|
||||
|
||||
[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*$
|
||||
Reference in New Issue
Block a user