another save
This commit is contained in:
26
lab4/pytest.ini
Normal file
26
lab4/pytest.ini
Normal file
@@ -0,0 +1,26 @@
|
||||
[tool:pytest]
|
||||
# Пути для поиска тестов
|
||||
testpaths = tests
|
||||
|
||||
# Паттерны для имён файлов с тестами
|
||||
python_files = test_*.py
|
||||
|
||||
# Паттерны для имён классов с тестами
|
||||
python_classes = Test*
|
||||
|
||||
# Паттерны для имён функций-тестов
|
||||
python_functions = test_*
|
||||
|
||||
# Опции для более подробного вывода
|
||||
addopts =
|
||||
-v
|
||||
--strict-markers
|
||||
--tb=short
|
||||
--disable-warnings
|
||||
|
||||
# Маркеры для категоризации тестов
|
||||
markers =
|
||||
slow: marks tests as slow (deselect with '-m "not slow"')
|
||||
unit: unit tests
|
||||
integration: integration tests
|
||||
|
||||
Reference in New Issue
Block a user