uv-pytest-unit-testing

Community

Standardize pytest workflows for uv projects.

Authorgaelic-ghost
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Streamline and standardize pytest setup and execution for uv-managed Python repositories, enabling consistent test runs across root projects and uv workspaces.

Core Features & Use Cases

  • Bootstrap pytest dependencies and baseline config with the bootstrap_pytest_uv.sh script.
  • Run tests at the repository root or targeted workspace packages using uv run with optional --package.
  • Enable optional coverage reporting via pytest-cov and manage configuration through pyproject.toml and layered profiles.
  • Organize tests with fixtures, markers, and parametrization, and troubleshoot discovery & import issues with guided steps.

Quick Start

Bootstrap pytest for uv projects by running the bootstrap_pytest_uv.sh script at the repository root, then run tests with uv run for root projects or uv run --package <member> for workspace packages.

Dependency Matrix

Required Modules

uvrgpytestpytest-cov

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: uv-pytest-unit-testing
Download link: https://github.com/gaelic-ghost/python-skills/archive/main.zip#uv-pytest-unit-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.