[pytest]
# pytest configuration for ApexBase test suite
# Test discovery
testpaths = test
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output formatting
addopts =
--tb=short
--strict-markers
--ignore=test/test_memory_1.py
--ignore=test/test_memory_2.py
--ignore=test/test_memory_vs_duckdb.py
--color=no
--timeout=120
# Markers
markers =
perf: marks tests as performance benchmarks (deselect with '-m "not perf"')
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
pandas: marks tests that require pandas
polars: marks tests that require polars
pyarrow: marks tests that require pyarrow
fts: marks tests that use full-text search
performance: marks tests that measure performance
# Minimum version
minversion = 6.0
# Per-test timeout (requires pytest-timeout; also set in addopts for CI/local).
# Leave the method unset so pytest-timeout uses SIGALRM on Unix and threads on Windows.
timeout = 120
# Coverage configuration (if pytest-cov is available)
# addopts = --cov=apexbase --cov-report=html --cov-report=term-missing
# Parallel execution (if pytest-xdist is available)
# addopts = -n auto
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:pyarrow.*
ignore::UserWarning:pandas.*
# Console output style
console_output_style = count
# Continue on first failure (useful for debugging)
# -x
# Stop after n failures
# --maxfail=5