Skip to content

NeoSkillFactory/py-test-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-test-creator

Audit License OpenClaw

Automatically generates pytest-compatible unit test templates from Python function signatures and docstrings

Usage

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.

Configuration

No configuration required. The skill uses default pytest conventions.

Optional environment variables:

  • PYTEST_STRICT: Set to true to enable strict mark handling
  • TEST_COVERAGE: Set to true to include coverage hints in generated tests

Quick Start

Installation

Requires Python 3.9+ and pytest:

pip install pytest

No other dependencies are needed — the tool uses only the Python standard library.

GitHub

Source code: github.com/NeoSkillFactory/py-test-creator

License

MIT © NeoSkillFactory

About

Automatically creates unit test templates from function signatures and docstrings in Python code.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages