Regression Test Generator for Openclaw

An intelligent test case recommendation engine that automatically identifies and prioritizes regression tests based on software change impact.

gnllk
v1.0.0
Mar 30, 2026
0
862
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install regression-test-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 regression-test-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 Regression Test Generator?

The Regression Test Generator is a sophisticated AI-powered tool designed to streamline the quality assurance process during software evolution. By analyzing change descriptions, code modifications, or bug fixes, this skill evaluates the scope of impact across modules and recommends the most critical test cases to execute. It ensures that development teams can maintain high software reliability without the manual overhead of re-evaluating the entire test suite for every minor update.

Built to support high-stakes environments, the skill integrates seamlessly into the Openclaw Skills ecosystem. It focuses on risk-based testing, categorizing cases by their influence on core functionality, data integrity, and regulatory compliance. Whether you are refactoring legacy code or pushing a hotfix, this tool provides a structured, data-driven approach to regression testing that balances speed with safety.

Regression Test Generator Use Cases

  • Determining regression test scope immediately after code modifications.
  • Formulating comprehensive regression plans prior to a new software release.
  • Verifying that bug fixes do not introduce side effects in unrelated modules.
  • Assessing the impact of requirement changes on existing test coverage.

How Regression Test Generator Works

  1. Change Analysis: The user provides a description of the change, which the skill parses to identify affected modules, change types (feature/fix/refactor), and impact severity.
  2. Test Case Matching: Using a specialized matching script, the skill filters the test repository based on keywords, functional dependencies, and historical defect correlations.
  3. Priority Ranking: Test cases are ranked into High, Medium, and Low priorities based on core functionality, user experience, and peripheral impact.
  4. Checklist Generation: The skill outputs a detailed recommendation list including test IDs, priority levels, estimated execution time, and testing types.

Regression Test Generator Setup

To utilize the Regression Test Generator within your Openclaw Skills environment, ensure you have the Python runtime installed and the test repository mapped.

# Navigate to your project directory
cd your-project-path

# Run the regression generator with a change description
python scripts/generate_regression_test.py "Modified buffer consumption logic to support individual configurations"

Regression Test Generator Data Schema & Taxonomy

The skill organizes its output and analyzes inputs based on a structured taxonomy of risk and functionality:

Level Criteria Execution Requirement
High Core logic, Patient Safety, Data Integrity Mandatory
Medium Important features, User Experience Recommended
Low UI/UX details, Edge cases, Documentation Optional

It generates a JSON or Markdown report containing test_id, priority, estimated_duration, and test_category.

Regression Test Generator Advanced Features

  • Risk-First Automation: Automatically prioritizes automated test cases that cover high-risk safety modules.
  • Dependency Mapping: Analyzes functional relationships to find hidden dependencies that might be affected by code changes.
  • Regulatory Compliance Tracking: Specifically flags test cases required for audit trails and permission control (e.g., LIS communication).
  • Efficiency Estimation: Provides total estimated execution time to help project managers adjust the priority cutoff based on available sprint time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*