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

sovereign-test-generator

ryudi84 द्वारा

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

संक्षिप्त

Analyzes codebases and generates comprehensive test suites.

विवरण

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

Analyzes source code and generates runnable test suites covering unit tests, integration tests, edge cases, and mocking strategies. Supports JavaScript/TypeScript with Jest and Vitest, Python with pytest, and Go and Rust. Prioritizes error paths and boundary conditions over hitting coverage number targets.

It systematically triages code by complexity and coupling before writing any tests, so the highest-risk paths get covered first rather than the easiest ones.

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

  • Writing unit tests for a newly built API endpoint
  • Generating mocking strategies for code that calls databases or external APIs
  • Adding edge case coverage to input validation logic
  • Setting up integration tests that verify HTTP request and response contracts
  • Creating parameterized test cases for functions with many valid and invalid input variants

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

इनपुट

User asks: Write tests for this UserService class that creates users and sends welcome emails

एजेंट
  1. 1

    Identify the public API surface: createUser and getUser methods

  2. 2

    Assess complexity and coupling: database queries and email service calls flagged as high-priority targets

  3. 3

    Plan mocking strategy: stub UserRepository return values, mock EmailService to verify call arguments

  4. 4

    Generate complete Jest test file with imports, typed mocks, beforeEach hooks, and named describe blocks

  5. 5

    Cover edge cases including duplicate email, weak password, email service failure, and database rollback verification

आउटपुट

A complete Jest test file with all imports, typed mocks, shared fixtures, and test cases for the happy path, validation errors, and failure modes including rollback behavior

इंस्टॉलेशन

clawhub install ryudi84/sovereign-test-generator

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

लिंक