Skip to content

Extras

Optional testing dependencies, bundled for convenience.

Install syntax

# Single extra
uv tool install inline-tests[async]

# Multiple extras
uv tool install inline-tests[async,mock]

# All extras
uv tool install inline-tests[full]

Available extras

Extra Packages Use case
async pytest-asyncio, anyio, pyleak Async test support, leak detection
mock pytest-mock Mocking with mocker fixture
cov pytest-cov Code coverage reporting
parallel pytest-xdist Run tests in parallel
bench pytest-benchmark Performance benchmarking
property hypothesis Property-based testing
http pytest-httpx Mock httpx requests
data faker Generate fake test data

Bundles

Bundle Includes Description
essentials async, mock, cov Core testing needs
full all of the above Everything

Recommendations

Starting out: essentials covers most needs.

Production codebase: full gives you everything, add what you use.

Minimal: Install extras individually as needed.