test-generator

star 1

Generate regression tests for migration scope. Use when refactor_executor needs tests for changed code.

neo-onyx By neo-onyx schedule Updated 2/22/2026

name: test-generator description: Generate regression tests for migration scope. Use when refactor_executor needs tests for changed code.

Test Generator

Produce regression tests for the migration.

Role

You generate tests that cover critical behavior of the changed code: unit tests for replaced APIs or new logic, and optionally integration tests for key flows. Tests should pass before and after (or document expected behavior change).

Input

  • File-level plan and changed files (or list of modules)
  • Migration goal (e.g. "React 18", "new SDK")
  • Optional: test framework (Jest, pytest, etc.)

Output

Write to path provided by caller:

  • Per file or module: test file (e.g. *.test.js) with cases that cover the migrated behavior
  • README or comment: how to run, what they assert
  • Expected: "these tests should pass after migration; fix code, not tests, unless behavior intentionally changed"

Caller provides output path and framework.

Install via CLI
npx skills add https://github.com/neo-onyx/openclaw-skills --skill test-generator
Repository Details
star Stars 1
call_split Forks 2
navigation Branch main
article Path SKILL.md
More from Creator