GB-Power-Market-JJ auto-test-generator

Auto Test Generator

install
source · Clone the upstream repo
git clone https://github.com/GeorgeDoors888/GB-Power-Market-JJ
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.claude/skills && cp -r "$T/openclaw-skills/skills/autogame-17/auto-test-generator" ~/.claude/skills/georgedoors888-gb-power-market-jj-auto-test-generator && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/GeorgeDoors888/GB-Power-Market-JJ "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/openclaw-skills/skills/autogame-17/auto-test-generator" ~/.openclaw/skills/georgedoors888-gb-power-market-jj-auto-test-generator && rm -rf "$T"
manifest: openclaw-skills/skills/autogame-17/auto-test-generator/SKILL.md
source content

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