कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

auto-test-generator

autogame-17 द्वारा

Coding Agents & IDEs
590clawskills.sh द्वारा बताए गए डाउनलोड
4स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Automatically generate basic unit/integration tests for OpenClaw skills.

विवरण

यह स्किल क्या करती है

Generates basic unit and integration tests for OpenClaw skills. It scans a skill directory, analyzes index.js exports, and writes a test.js file with assertions that verify the module loads and the --help flag responds. The test runs immediately after generation.

Writing a test scaffold from scratch for each skill is repetitive; this handles the boilerplate and executes the tests in a single command.

इसे कब इस्तेमाल करें

  • Bootstrapping test coverage for a newly written skill
  • Catching regressions after modifying a skill's core logic
  • Verifying a skill loads without errors after dependency updates
  • Adding baseline assertions before submitting a skill for code review
  • Checking --help output still works after refactoring

उदाहरण वर्कफ़्लो

इनपुट

User asks: generate tests for the skill-health-monitor skill

एजेंट
  1. 1

    Scans the skills/skill-health-monitor/ directory

  2. 2

    Analyzes index.js to identify exported functions

  3. 3

    Generates a test.js file with module load and --help assertions

  4. 4

    Runs the generated test file immediately

  5. 5

    Reports pass or fail with output

आउटपुट

Creates skills/skill-health-monitor/test.js and prints a success or failure report

इंस्टॉलेशन

clawhub install autogame-17/auto-test-generator

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक