testing-workflow

Enforce Python testing workflows with zero-warning quality gates before commits.

8|Updated Nov 4, 2025
One-click install
npx skills add https://github.com/ilude/claude-code-config --skill testing-workflow-ilude
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-workflow
Source: https://github.com/ilude/claude-code-config/tree/main/skills/testing-workflow
Command: npx skills add https://github.com/ilude/claude-code-config --skill testing-workflow-ilude

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest.

What problem does it solve?

This Skill enforces a rigorous Python testing workflow, ensuring code quality through a "zero warnings" policy, comprehensive test coverage, and efficient testing strategies. It prevents bugs, maintains a high standard of code, and reduces the time spent on debugging and rework.

Core Features & Use Cases

  • Zero Warnings Tolerance: Mandates that all warnings are treated as errors, blocking commits until all quality checks (tests, linting, type checks) pass without warnings, ensuring pristine code.
  • Targeted & Full Suite Testing: Guides on running targeted tests during development for fast iteration and a full suite (make check) before committing, balancing speed and thoroughness.
  • Pytest Best Practices: Integrates patterns for test organization (AAA), fixtures, parametrization, and mocking, ensuring robust, maintainable, and effective tests.
  • Use Case: You've made changes to a Python module. This skill ensures the AI will run targeted tests, fix any failures or warnings immediately, and then run the full test suite before committing, guaranteeing that no regressions or quality issues are introduced into your codebase.

Quick Start

Run all tests for the current Python project. Ensure there are zero warnings and all quality checks pass. If any issues are found, fix them immediately.

Frequently Asked Questions about testing-workflow

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

FAQPage Schema
How do I set up a Python testing workflow that enforces zero warnings?

A zero-warnings testing workflow uses pytest combined with linting, type checking, and formatting tools to block commits until all checks pass without warnings. This Skill configures pytest with coverage targets (minimum 80%, 100% on critical paths), mocking practices, and organized test structure using Arrange-Act-Assert patterns to ensure pristine code before integration.

What's the best way to structure pytest tests with proper coverage requirements?

Organize pytest tests using Arrange-Act-Assert patterns, parametrization, and fixtures for maintainability. Set minimum coverage targets at 80% overall and 100% on critical paths. This Skill enforces those standards across unit, integration, and end-to-end tests while ensuring all quality checks pass without warnings.

Can I run targeted tests during development and then a full suite before committing?

Yes, this Skill guides running targeted tests during development for fast iteration, then executing a full test suite (via `make check`) before committing. This balances speed and thoroughness, catching regressions and quality issues while preventing them from entering your codebase.

How do I enforce linting, type checking, and formatting standards across Python projects?

This Skill applies language-agnostic quality controls including linting, type checking, and formatting requirements alongside pytest. It treats all warnings as errors and blocks commits until these checks pass, maintaining consistent code standards across your project.

What are the limitations of a zero-warnings policy in continuous testing?

A zero-warnings policy requires resolving all issues immediately rather than deferring them, which can slow initial development. However, it prevents technical debt accumulation and rework, making it suitable for projects prioritizing code quality and maintainability over rapid prototyping.