XMind Test Case Generator for Openclaw

An automated utility designed to convert product requirements and source code logic into hierarchical XMind test case structures.

wxl1779766474
v1.1.0
Mar 20, 2026
0
779
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install xmind-testcase-generator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install xmind-testcase-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is XMind Test Case Generator?

The XMind Test Case Generator is a specialized tool within the Openclaw Skills ecosystem that streamlines the transition from product requirements to actionable test suites. By analyzing local documents or cloud-based Feishu links, this skill helps teams build comprehensive test maps that include modules, sub-modules, specific test points, and step-by-step instructions.

This skill goes beyond simple text parsing by encouraging deep code analysis, allowing the AI to identify complex behavior patterns, server-side validation chains, and error codes that are often missed in manual testing. It ensures that every generated case follows a strict priority and platform-tagging convention, making it an essential asset for modern software quality assurance.

XMind Test Case Generator Use Cases

  • Automatically generating test plans from functional requirement documents.
  • Converting complex code logic and enums into structured test scenarios.
  • Standardizing test case distribution between smoke tests and normal regression tests.
  • Ensuring cross-platform coverage for iOS, Android, and Web applications within a single mind map.

How XMind Test Case Generator Works

  1. Fetch the requirement document using local file reading or the Feishu fetch tool.
  2. Construct a module list to identify all functional sections without omissions.
  3. Perform a deep code analysis on core files to extract constants, enums, and error codes for complex functions.
  4. Populate the case data into the generation script using the build_cases function.
  5. Execute the Python generation script to output the final .xmind file.
  6. Verify the distribution statistics to ensure smoke tests (P1) account for approximately 20% of the total cases.

XMind Test Case Generator Setup

To get started with this skill in the Openclaw Skills framework, ensure your environment is ready for Python execution:

# Install the necessary Python environment
# Ensure you have access to the gen_xmind.py script
python3 gen_xmind.py

Configuration requires setting up access for the feishu_fetch-doc tool if you are pulling requirements from cloud documents.

XMind Test Case Generator Data Schema & Taxonomy

The skill organizes data into a strict hierarchical structure to maintain clarity and professional standards:

Level Description
Requirement Name The root node of the XMind file
Module Major functional areas
Sub-module Specific features within a module
Test Point The specific scenario being tested (marked P1 or P3)
Steps Numbered operational actions
Expected Result The predicted outcome for each step

Priority distribution is strictly enforced: P1 (Smoke) at ~20% and P3 (Normal) at ~80%. Platform tagging includes ai for mobile, as for Android/Server, and f for Frontend.

XMind Test Case Generator Advanced Features

  • Deep code integration: Analyzes client-side enums and server-side validation chains for higher test accuracy.
  • Automated smoke ratio validation: Ensures the test suite remains balanced for CI/CD triggers.
  • Comprehensive QA Checklist: Automatically accounts for edge cases like race conditions, boundary values, and state synchronization.
  • Multi-platform tagging: Supports simultaneous targeting of iOS, Android, and Web platforms within the same Openclaw Skills workflow.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*