[pytest]
# Register custom marks
markers =
slow: marks tests as slow (deselect with -m "not slow")
performance: marks tests as performance tests (run with -m performance)
# Skip performance tests by default
addopts = -m "not performance"
# Filter warnings to suppress noise and prevent future breakage
filterwarnings =
# Suppress distutils deprecation warnings from FAISS and setuptools
ignore::DeprecationWarning:distutils.*
ignore::DeprecationWarning:setuptools._distutils.*
# Keep important warnings from our own code
default::DeprecationWarning:scribe_mcp.*
# Show user warnings and other important warnings
default::UserWarning
default::RuntimeWarning
# Show captured output for failed tests (use -s or --tb=short for more detail)
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*