pytest-integrity

Community

Ensure pytest test counts are accurate.

AuthorSiamese001
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents silent test deselection in pytest, ensuring that all intended tests are collected and executed, thereby guaranteeing the integrity of your test suite.

Core Features & Use Cases

  • Collection vs. Execution Verification: Compares the number of tests collected by pytest with the number actually executed, flagging any discrepancies.
  • Conftest Hook Auditing: Inspects conftest.py files for pytest_collection_modifyitems hooks that might be filtering tests, ensuring proper marker registration and hook logic.
  • Use Case: When running automated tests as part of a CI/CD pipeline, this Skill ensures that no tests are silently dropped, providing confidence that the entire test suite is being run.

Quick Start

Run the pytest integrity skill to verify that all collected pytest tests are executed.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: pytest-integrity
Download link: https://github.com/Siamese001/Agentic-Workflow/archive/main.zip#pytest-integrity

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.