← 返回
效率工具 中文

Auto Test Generator

Automatically create and run basic unit/integration tests for OpenClaw skills to ensure code quality and prevent regressions.
自动为OpenClaw技能创建并运行基础单元/集成测试,确保代码质量并防止回归。
autogame-17
效率工具 clawhub v1.0.0 1 版本 99911.4 Key: 无需
★ 4
Stars
📥 1,048
下载
💾 25
安装
1
版本
#latest

概述

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

  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

node skills/auto-test-generator/index.js skill-health-monitor

Output:

  • Creates skills/skill-health-monitor/test.js
  • Runs it
  • Reports success/failure

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 03:45 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 448 📥 226,600
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 115,061
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 441 📥 148,544