test

Run pytest unit tests via tox/uvx and generate coverage reports.

143|80|Updated Jul 28, 2025
One-click install
npx skills add https://github.com/leanEthereum/leanSpec --skill test-leanethereum
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/leanEthereum/leanSpec/tree/main/.claude/skills/test
Command: npx skills add https://github.com/leanEthereum/leanSpec --skill test-leanethereum

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers need a quick, reliable way to verify code changes by running the project’s unit tests and obtaining a coverage overview to identify untested areas.

Core Features & Use Cases

  • Execute the project’s unit tests with pytest via the uvx/tox workflow for consistent environments.
  • Generate a coverage report to reveal tested vs untested code paths.
  • Target specific test directories or use filters to focus validation during development.

Quick Start

Invoke the test skill to run the unit test suite and generate a coverage report.

Frequently Asked Questions about test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run pytest unit tests with coverage in one command?

Run pytest unit tests with coverage by invoking the skill, which executes the test suite via tox or uvx and generates a report to reveal tested versus untested code paths for quick feedback.

Can I target specific test directories or filter tests during execution?

Yes, you can pass user-provided arguments to target specific test directories or apply filters, allowing you to focus validation on selected tests during development.

Does this pytest workflow support consistent environments using tox or uvx?

Yes, the workflow executes pytest through tox or uvx to ensure consistent testing environments, providing reliable verification of code changes across different setups.

How do I control verbosity when running unit tests?

You can control verbosity by passing user-provided arguments during invocation, adjusting the output detail of the pytest execution to suit your development workflow.

What is the best way to get quick feedback on code changes using unit tests?

The best way to get quick feedback is to run selective unit tests with coverage, which verifies code changes and identifies untested areas rapidly through an automated pytest workflow.

Why use uvx or tox for running pytest instead of direct invocation?

Using tox or uvx for running pytest ensures consistent environments and reliable test execution, avoiding environment-related discrepancies that can occur with direct invocation.