test-harness
CommunityGenerate comprehensive, runnable pytest suites.
AuthorMathews-Tom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Transforms Python functions, classes, or modules into comprehensive, runnable pytest test suites so developers can validate behavior, guard refactors, and enforce coverage without manual, error-prone test writing.
Core Features & Use Cases
- Analyzes function signatures, dependency graphs, and complexity hotspots to enumerate happy path, boundary, error, and state tests.
- Designs scoped fixtures, conftest candidates, and teardown to ensure isolation and minimal flakiness.
- Produces mock strategies, patch boundaries, and async test patterns (pytest-asyncio) for code with external dependencies or coroutines.
- Use cases: generate tests for a changed function before a PR, scaffold parametrized tests for complex logic, or produce async test stubs for coroutine-based services.
Quick Start
Generate a standard pytest file for the function calculate_discount in sample_module.py and include happy path, boundary, and error tests.
Dependency Matrix
Required Modules
None requiredComponents
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: test-harness Download link: https://github.com/Mathews-Tom/praxis-skills/archive/main.zip#test-harness Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.