Pytest
v1.9.0Comprehensive Pytest testing framework skills for Python projects with fixtures, plugins, and advanced testing patterns.
Installation
Install han binary (required for hooks to work):
curl -fsSL https://han.guru/install.sh | bashThen install this plugin:
han plugin install jutsu-pytestOverview
Comprehensive Pytest testing framework skills for Python projects with fixtures, plugins, and advanced testing patterns.
Skills
This plugin provides the following skills:
- Pytest Advanced
- Pytest Fixtures
- Pytest Plugins
Usage
Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:
- Write idiomatic code following best practices
- Suggest appropriate patterns and architectures
- Catch common mistakes and anti-patterns
- Provide framework-specific guidance
Installation
Install with npx (no installation required):
han plugin install jutsu-pytest
License
Licensed under MIT - see repository for details.
Skills
pytest-advanced
Use when advanced Pytest features including markers, custom assertions, hooks, and coverage configuration.
pytest-fixtures
Use when pytest fixtures, conftest files, parametrize decorators, and fixture scopes for comprehensive test setup.
pytest-plugins
Use when pytest plugin ecosystem including pytest-cov, pytest-mock, and custom plugin development.
Hooks
Token Usage Notice
Hooks run automatically during Claude Code sessions and their output is sent to the model for processing. This may increase token usage and associated costs. Consider disabling hooks you don't need via han-config.yml.
Stop
Runs when the main Claude Code agent has finished responding. Can verify task completion, check quality gates, or ensure documentation requirements are met before the session ends.
SubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding. Can validate subagent outputs, enforce quality standards, or trigger additional workflows after delegated tasks complete.