testing

Enforce pytest testing standards for naming, fixtures, isolation, and parameterization.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/juanmanueldaza/invencible --skill testing-juanmanueldaza
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/juanmanueldaza/invencible/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/juanmanueldaza/invencible --skill testing-juanmanueldaza

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill codifies pytest testing standards across projects to ensure consistent naming, fixture usage, isolation, and parameterization, reducing flaky tests and onboarding time.

Core Features & Use Cases

  • Enforces naming conventions for tests and test modules to improve readability and traceability.
  • Promotes proper fixture usage, scopes, and isolation to avoid shared state and flaky results.
  • Guides effective use of parameterization to cover edge cases with minimal duplication.
  • Provides actionable guidance during code reviews and test authoring to maintain quality.

Quick Start

Review your test suite against these pytest guidelines to improve reliability and maintainability.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I enforce pytest naming conventions and fixture isolation across my test suite?

You enforce pytest standards by scanning test suites under tests/ and new test files, checking for consistent naming conventions, explicit fixture scopes, and strict test isolation to eliminate shared state and flaky results.

What is the best way to standardize pytest parameterize usage for edge cases?

The best way to standardize pytest parameterize usage is to apply parameterization patterns that cover edge cases with minimal duplication, providing actionable guidance and clear error messages when patterns are violated.

How do I stop pytest tests from sharing state and flaky results?

You stop pytest tests from sharing state by enforcing proper fixture usage with explicit scopes and strict test isolation guarantees during test authoring and code reviews, eliminating shared state dependencies.

Can I use this to guide pytest test authoring during code reviews?

Yes, you can use this to guide pytest test authoring during code reviews by checking test files against standards for naming, fixtures, isolation, and parameterization, providing actionable feedback to maintain quality.

Why does my pytest test suite need standardized fixtures and parameterization?

Your pytest test suite needs standardized fixtures and parameterization to reduce onboarding time and flaky tests, ensuring consistent naming, proper fixture scopes, and effective edge case coverage across the project.

What are the limitations of automating pytest test standardization?

The limitation of automating pytest test standardization is that it requires applying rules specifically to test suites under tests/ and new test files, relying on clear error messages to guide authors when naming, fixture, or parameterization standards are violated.