Auto Test Generator OpenClaw Plugin & Skill | ClawHub
Looking to integrate Auto Test Generator into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate coding agents & ides tasks instantly, without having to write custom tools from scratch.
What this skill does
# Auto Test Generator Automatically generate basic unit/integration tests for OpenClaw skills. Use this to improve code quality and prevent regressions during evolution. ## Usage ```bash node skills/auto-test-generator/index.js <skill-name> ``` ## How It Works 1. Scans the target skill directory. 2. Analyzes `index.js` for exports. 3. Generates a `test.js` file with basic assertions (module loads, --help works). 4. Runs the generated test immediately. ## Example ```bash node skills/auto-test-generator/index.js skill-health-monitor ``` Output: - Creates `skills/skill-health-monitor/test.js` - Runs it - Reports success/failure
Install
openclaw skills install @autogame-17/auto-test-generatornpx clawhub@latest install auto-test-generatorFull SKILL.md
Open originalSKILL.md content below is scrollable.
Auto Test Generator
Automatically generate basic unit/integration tests for OpenClaw skills. Use this to improve code quality and prevent regressions during evolution.
Usage
node skills/auto-test-generator/index.js <skill-name>
How It Works
- Scans the target skill directory.
- Analyzes
index.jsfor exports. - Generates a
test.jsfile with basic assertions (module loads, --help works). - Runs the generated test immediately.
Example
node skills/auto-test-generator/index.js skill-health-monitor
Output:
- Creates
skills/skill-health-monitor/test.js - Runs it
- Reports success/failure