35 lines
934 B
INI
35 lines
934 B
INI
# Pytest configuration for local-context7 tests
|
|
|
|
[pytest]
|
|
# Test discovery pattern (where to look for tests)
|
|
testpaths = tests
|
|
|
|
# Pattern of test files to discover
|
|
python_files = test_*.py
|
|
|
|
# Pattern of test functions to run
|
|
python_functions = test_*
|
|
|
|
# Markers for test categorization
|
|
markers =
|
|
slow: marks tests as slow (deselect with '-m "not slow"')
|
|
integration: marks tests as integration tests requiring external services
|
|
unit: marks tests as pure unit tests
|
|
|
|
# Add console output during test collection
|
|
console_output_style = classic
|
|
|
|
# Test execution options
|
|
asyncio_mode = auto
|
|
testsessionstartfixturesscope = function
|
|
|
|
# Logging configuration
|
|
log_cli = true
|
|
log_cli_level = INFO
|
|
log_cli_format = %(asctime)s [%(levelname)s] %(name)s: %(message)s
|
|
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
|
|
|
# Ignore specific warnings during tests
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::PendingDeprecationWarning |