Installation
Requirements
- Python 3.8 or higher
- pytest 7.0.0 or higher
Add to your project
This records the dependency in your pyproject.toml and pins it in uv.lock:
For a validated system, pin the exact version you qualified (pytest-gxp==0.2.0)
and commit uv.lock — the lockfile is the reproducible dependency closure your
qualification record refers to.
Optional Dependencies
Install optional features as needed:
Evidence Capture (text-to-image conversion)
PDF Report Generation
All Optional Dependencies
Alternative: pip
Development Installation
For development, install with dev dependencies:
This will install:
- The plugin in editable mode
- Development dependencies (pytest, ruff, pre-commit, mkdocs)
Prefix commands with uv run to use the project environment, e.g. uv run pytest.
Verify Installation
Verify the plugin is installed correctly:
You should see the GxP options in the help output: