regression-test-generator

Generate Arrange-Act-Assert regression tests for Jest, Vitest, pytest, or Playwright projects.

91|10|Updated Oct 4, 2025
One-click install
npx skills add https://github.com/marcusgoll/Spec-Flow --skill regression-test-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: regression-test-generator
Source: https://github.com/marcusgoll/Spec-Flow/tree/main/.claude/skills/regression-test-generator
Command: npx skills add https://github.com/marcusgoll/Spec-Flow --skill regression-test-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Generates regression tests when bugs are discovered, linking to error logs and inserting framework-appropriate templates.

Core Features & Use Cases

  • Collect bug details and reproduce steps
  • Detect test framework and generate Arrange-Act-Assert tests
  • Save tests to tests/regression/ and link to error-log.md

Quick Start

Generate a regression test file for a known bug, review, then save or edit as needed.

Frequently Asked Questions about regression-test-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate regression tests when a bug is discovered in my project?

Regression tests capture bug details and reproduction steps, then generate Arrange-Act-Assert formatted tests automatically. This Skill detects your installed test framework—Jest, Vitest, pytest, or Playwright—collects bug information, creates test files under tests/regression/, and links them to your error log for future reference and bug prevention.

Can I use regression test generation with Jest, Vitest, pytest, and Playwright?

Yes. Regression test generation works across Jest, Vitest, pytest, and Playwright by auto-detecting your project's test framework and generating framework-appropriate Arrange-Act-Assert templates that follow your project's patterns and naming conventions.

What information do I need to provide to generate a regression test?

Provide bug details including the reproduction steps, expected behavior, and actual behavior. The Skill uses this information to generate a complete test that verifies the fix, references the error ID, and saves it to tests/regression/ with a link to error-log.md.

Where are regression tests saved and how are they organized?

Regression tests are saved under tests/regression/ and automatically linked to error-log.md. This organization maintains traceability between test files, bug reports, and error IDs while adhering to your project's file placement and naming conventions.

Do I need to manually write regression tests or does this automate the process?

Regression test generation automates test creation by collecting bug details, detecting your test framework, and generating complete Arrange-Act-Assert tests. You review the generated test and can save or edit it as needed before committing.

Why should I link regression tests to bug reports and error logs?

Linking regression tests to error logs and bug IDs creates a complete audit trail. This ensures each test documents which bug it prevents, making it easier to understand test intent, maintain test coverage as bugs are fixed, and prevent regression when similar issues recur.