Skip to main content

Automated Test Generation

Supported frameworks

Code quality score

Before you push any code, TestForge calculates a local quality score (no extra LLM call) across 5 dimensions: Score ≥ 70: good quality, push with confidence. Score < 60: Regenerate button is highlighted.

Regenerate with corrections

Click Regenerate to run a new generation. TestForge automatically collects all quality warnings from the previous result and sends them to the LLM as a CORRECTIONS REQUIRED section. You don’t need to describe the issues manually.

Cucumber: feature files from Gherkin

When you select a Cucumber framework:
  1. Feature files are derived directly from the gherkinScenario fields of your manual tests — zero extra LLM call.
  2. Step definitions are generated by the LLM from those scenarios.
For Cucumber, generate manual tests first. If no Gherkin scenarios are available, TestForge cannot proceed.

Getting started with your generated code

After generation, TestForge displays a “How to use this code” panel with the exact steps for your framework. Here is the full reference for all 8 frameworks.

Playwright TypeScript \

Project structure

Playwright Python \

Project structure

Playwright .NET (C#) \

Project structure

Selenium Java \

Add to your pom.xml:
Project structure

Cypress JavaScript \

Project structure

Cucumber JavaScript \

Project structure

Cucumber Java \

Add to your pom.xml:
Project structure

Cucumber Python \

Project structure
The inline “How to use this code” accordion in the QA Hub links directly to each section above. Keep this page up to date whenever framework versions are bumped.