open-testing-convert-cucumber

Convert Cucumber feature files and Gherkin step definitions into target frameworks.

13|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/AgenticTesting/OpenTestingAI --skill open-testing-convert-cucumber
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-testing-convert-cucumber
Source: https://github.com/AgenticTesting/OpenTestingAI/tree/main/.opentesting-convert/skills/open-testing-convert-cucumber
Command: npx skills add https://github.com/AgenticTesting/OpenTestingAI --skill open-testing-convert-cucumber

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Converts Cucumber/Gherkin feature files and their step-definition layers into target frameworks while preserving narrative context, hooks, data tables, and doc strings.

Core Features & Use Cases

  • Two-layer extraction: feature + step-def layer into a canonical intent representation that can be consumed by multiple targets.
  • Multi-target support: convert to OpenTest.AI, Testers.AI Recorder, Testers.AI Dynamic, Eggplant, Selenium, Playwright, Cypress, and Appium, with round-trips back to Cucumber where appropriate.
  • Round-trip emission: regenerate a .feature file and step-definition skeletons to enable round-tripping with the source or a new target.
  • Data tables, doc strings, tags, and backgrounds: preserve and map to canonical intent with appropriate target semantics.

Quick Start

Provide a Cucumber feature file and its step-definition files to convert into a chosen target; the skill will output a structured canonical representation plus optional round-trip artifacts.

Frequently Asked Questions about open-testing-convert-cucumber

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

FAQPage Schema
How do I convert Cucumber feature files to Playwright or Cypress test scripts?

You can convert Cucumber feature files to Playwright or Cypress by providing the feature file and step definitions, allowing the skill to extract canonical intent and map Gherkin narratives, hooks, and data tables into the target framework's test scripts.

Does converting Gherkin step definitions to Selenium preserve background and data tables?

Converting Gherkin step definitions to Selenium preserves background and data tables by extracting their canonical intent and mapping them to the target framework's semantics, ensuring narrative context and structured data remain intact during framework migration.

Can I migrate SpecFlow or Behave tests to Appium?

You can migrate SpecFlow or Behave tests to Appium by converting their Gherkin feature files and step definitions into a canonical intent representation, which normalizes driver references and delegates action-layer extraction for the target environment.

What is the best way to round-trip Cucumber BDD tests to a new framework and back?

The best way to round-trip Cucumber BDD tests is to extract a canonical intent representation from source feature files, convert them to the target framework, and optionally regenerate .feature files and step-definition skeletons for round-tripping back to Cucumber.

What happens to unresolved Cucumber steps during framework migration?

Unresolved Cucumber steps during framework migration are surfaced as TODOs for reviewer follow-up, ensuring that any step definitions lacking a clear canonical intent mapping are explicitly flagged for manual inspection and resolution.