Installation¶
Recommended: uv tool¶
This gives you itest globally. For one-off use:
As a project dependency¶
Or with pip:
With extras¶
inline-tests bundles common testing dependencies as optional extras:
# Everything
uv tool install inline-tests[full]
# Async testing (pytest-asyncio, anyio, pyleak)
uv tool install inline-tests[async]
# Core testing extras (async + mock + coverage)
uv tool install inline-tests[essentials]
See Extras for the full list.
Verify installation¶
You should see the pytest version. inline-tests is a pytest plugin, so it uses pytest's CLI.