claude

pytest-forge

Generate and validate pytest unit tests following custom guidelines with 100% coverage

3 on GitHubby Canvas Medicalv0.1.0updated todaydevelopment
/

Plugin pytest-forge from marketplace canvas-medical in canvas-medical/coding-agents. Commands read from the repo's manifest — today.

What it installs

Skills (1)

  • Pytest Testing Guidelines

    This skill should be used when the user asks to "write tests", "create tests", "generate tests", "unit tests", "pytest", "test guidelines", "testing rules", "test standards", "how to test", "test this code", "add tests", "validate tests", "check tests", "improve tests", or when working with Python t

Slash commands (4)

  • /pytest-forge:generate-tests

    Generate comprehensive pytest unit tests for a Python source file following strict guidelines

  • /pytest-forge:improve-tests

    Analyze and enhance existing pytest tests for better quality, coverage, and guideline compliance

  • /pytest-forge:setup

    Configure pytest and coverage tools for the project with 100% coverage threshold

  • /pytest-forge:validate-tests

    Validate pytest test files for compliance with guidelines and coverage requirements

Subagents (7)

  • test-generator

    Use this agent when the user wants to generate, write, or create pytest unit tests for Python source files. This agent specializes in generating comprehensive, production-ready test suites that follow strict pytest conventions and achieve high code coverage. Examples: <example>Context: User has just

  • validate-forbidden-patterns

    Validates that test files do not contain forbidden patterns (assert_called_with, return_value, __main__ tests, etc.). This is a focused validation agent that checks ONLY forbidden patterns.

  • validate-mock-objects

    Validates that test files use SimpleNamespace instead of MagicMock for return objects (HTTP responses, etc.). This is a focused validation agent that checks ONLY mock object usage.

  • validate-mock-verification

    Validates that ALL mocks in test files have mock_calls verification. This is a focused validation agent that checks ONLY mock verification completeness.

  • validate-pytest-fixtures

    Validates that test files use pytest fixtures correctly (capsys instead of mock_print, etc.). This is a focused validation agent that checks ONLY pytest fixture usage.

  • validate-test-structure

    Validates test file structure (naming conventions, test ordering, class organization). This is a focused validation agent that checks ONLY test structure.

  • validate-variable-names

    Validates that test files use mandatory variable names (tested, result, expected, exp_*). This is a focused validation agent that checks ONLY variable naming compliance.

View source on GitHub

More from canvas-medical/coding-agents

All 2 plugins →

cpa

claude

Helps solutions consultants build Canvas Medical plugins through guided dialogue and automated workflows

13 skills · 11 commands · 3 agents · 1 MCP server · hooks

3

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Build powerful, stateful CLI interfaces for any GUI application using the cli-anything harness methodology.

5 commands

HKUDS/CLI-Anything 58,665

Automates browser interactions for web testing, form filling, screenshots, and data extraction

12 skills

vercel-labs/agent-browser 50,373

Use Alibaba Open Code Review from local Codex.

2 skills

alibaba/open-code-review 50,068

slidev

claude

Claude Code skill for creating and presenting Slidev slidedecks

1 skill

slidevjs/slidev 49,452

Maintain pytest-forge?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins2 plugins