Pytest

Pytest

rootwarp 3ff6914 545 B Updated

File contents

/pytest

Run tests for the Python project using uv.

Instructions

Run tests with pytest:

uv run pytest

For verbose output:

uv run pytest -v

With coverage:

uv run pytest --cov=<package_name> --cov-report=html

To run a specific test file or function:

uv run pytest tests/test_main.py
uv run pytest tests/test_main.py::test_function_name

To see print output:

uv run pytest -s

If tests fail, analyze the failures and suggest fixes.

rootwarp/claude-code-plugins-monorepo/tree/main/plugins/python/skills/pytest commit 3ff6914c72

Frequently asked questions

npx skillmds@latest add rootwarp/pytest