pytest.ini•609 B
[pytest]
# Basic pytest configuration
testpaths = ./tests
pythonpath = ./src
python_files = test_*.py *_test.py
python_classes = Test* *Tests
python_functions = test_* it_*
addopts =
--verbose
# --tb=short
--color=auto
--capture=no
# pytest-timeout configuration
timeout = 300
timeout_method = thread
[tool.pytest.ini_options]
describe_prefixes = ["describe_", "context_", "when_", "and_", "then_"]
# Live Logging
log_cli = true
log_cli_level = DEBUG
log_cli_handlers = stdout
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S