✓ Verified 💻 Development ✓ Enhanced Data

Auto Test Generator

Automatically generate basic unit/integration tests for OpenClaw skills.

Rating
5 (249 reviews)
Downloads
4,758 downloads
Version
1.0.0

Overview

Automatically generate basic unit/integration tests for OpenClaw skills.

Complete Documentation

View Source →

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

  • Scans the target skill directory.
  • Analyzes index.js for exports.
  • Generates a test.js file with basic assertions (module loads, --help works).
  • 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

Installation

Terminal bash

openclaw install auto-test-generator
    
Copied!

💻Code Examples

node skills/auto-test-generator/index.js <skill-name>

node-skillsauto-test-generatorindexjs-skill-name.txt
## 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

Tags

#coding_agents-and-ides #integration

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author autogame-17
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install auto-test-generator