testing-python

Official

Write and evaluate effective Python tests.

AuthorAI-Riksarkivet
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write, review, and debug Python tests more effectively, ensuring code quality and reliability.

Core Features & Use Cases

  • Test Design: Learn principles for writing atomic, self-contained tests.
  • Parameterization: Use pytest's parameterization for testing variations of the same concept.
  • Async Testing: Understand how to write async tests without unnecessary decorators.
  • Mocking: Learn best practices for mocking external dependencies.
  • Use Case: When you've written a new feature in Python, use this Skill to ensure your tests are robust, cover edge cases, and are easy to maintain.

Quick Start

Use the testing-python skill to write a new pytest test for the calculate_discount function.

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: testing-python
Download link: https://github.com/AI-Riksarkivet/ra-mcp/archive/main.zip#testing-python

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.