🧪 Skills
Auto Test Generator
Automatically create and run basic unit/integration tests for OpenClaw skills to ensure code quality and prevent regressions.
v1.0.0
Description
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
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!