Automatically generates pytest-compatible unit test templates from Python function signatures and docstrings
Trigger the skill with natural language:
- "Create unit tests for this Python function"
- "Generate test templates from these function signatures"
- "Write pytest tests for my Python methods"
- "Create unit test scaffolding from docstrings"
The skill expects a Python file or code snippet as input and produces a corresponding test file.
No configuration required. The skill uses default pytest conventions.
Optional environment variables:
PYTEST_STRICT: Set totrueto enable strict mark handlingTEST_COVERAGE: Set totrueto include coverage hints in generated tests
Requires Python 3.9+ and pytest:
pip install pytestNo other dependencies are needed — the tool uses only the Python standard library.
Source code: github.com/NeoSkillFactory/py-test-creator
MIT © NeoSkillFactory