[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