Testing¶
From the repository root:
uv sync
uv run pytest tests/ -v
Coverage is enabled via pyproject.toml (--cov=unitflow). For a faster loop without coverage:
uv run pytest tests/ -q --no-cov
Layout¶
tests/unit/— package-scoped unit teststests/integration/— cross-module behaviortests/system/— larger scenarios
Lint and types¶
uv run ruff check unitflow tests
uv run ruff format unitflow tests
uv run mypy unitflow
Documentation build¶
uv sync --group docs
uv run sphinx-build -b html docs/user_docs docs/user_docs/_build/html
Use -W to treat warnings as errors (CI-style):
uv run sphinx-build -b html docs/user_docs docs/user_docs/_build/html -W