Pytest (Python Tests)

Python tests live under test/python. Pytest discovery is configured in pyproject.toml ([tool.pytest.ini_options]).

Install Test Dependencies

Build and Install the Python Module

Build and install the scikdtree package first:

# From repository root
pip install .

Run Pytest

pytest -q

Useful Variants

# Verbose output
pytest -v

# Stop on first failure
pytest -x

# Parallel execution (requires pytest-xdist)
pytest -n auto