python-testing-patterns

Community

Solid Python tests with pytest and mocks.

AuthorNickCrew
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides patterns for robust Python testing, including fixtures, parameterization, mocking, and property-based testing.

Core Features & Use Cases

  • Fixtures & Scope: Reusable resources with proper teardown.
  • Parametrization: Data-driven tests for broad coverage.
  • Mocking: Isolate components and simulate failures.

Quick Start

Write a parameterized test for a function that validates user input across multiple cases.

Dependency Matrix

Required Modules

pytesthypothesis

Components

Standard package

💻 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: python-testing-patterns
Download link: https://github.com/NickCrew/claude-cortex/archive/main.zip#python-testing-patterns

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