[pytest]
# pytest configuration for gaitSetPy

# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*

# Test markers
markers =
    unit: Unit tests for individual components
    integration: Integration tests for multiple components
    slow: Slow-running tests (deselect with '-m "not slow"')
    requires_data: Tests requiring actual dataset files
    requires_gpu: Tests requiring GPU for execution
    visualization: Tests that create visualizations

# Test output options
testpaths = tests
addopts =
    --verbose
    --strict-markers
    --tb=short
    --disable-warnings
    --cov=gaitsetpy
    --cov-report=html
    --cov-report=term
    --cov-report=xml

# Warning filters
filterwarnings =
    ignore::DeprecationWarning
    ignore::PendingDeprecationWarning
    ignore::FutureWarning

# Minimum Python version
minversion = 3.8

env =
    MPLBACKEND=Agg
