open-testing-convert-behat

Convert Behat PHP BDD test suites into multi-target representations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Behat-based test suites are specialized and often required by different engines and languages; this skill enables translating them into target-ready representations for broad execution.

Core Features & Use Cases

  • Converts Behat (PHP BDD) test suites into canonical IR and per-target emissions, including Feature, Scenario, and Step definitions.
  • Maps Behat constructs such as features, contexts, hooks, transforms, and suites to target platforms like Selenium, Playwright, Cypress, Cucumber, Appium, Behave, SpecFlow, Eggplant, OpenTest.AI, and Testers.AI.
  • Supports multi-context and multi-profile Behat configurations to enable round-tripping and cross-environment testing.

Quick Start

Run the converter against a Behat project by invoking the converter from the repository root to generate per-target artifacts.

Frequently Asked Questions about open-testing-convert-behat

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

FAQPage Schema
How do I convert Behat BDD test suites to Playwright or Cypress?▼

You can convert Behat BDD test suites to Playwright or Cypress by mapping features, contexts, hooks, transforms, and suites into target-ready representations for diverse execution environments.

Can I migrate Behat Mink extensions to Selenium or Appium?▼

Yes, Behat 3.x setups using Mink extensions can be mapped to execution targets like Selenium and Appium by translating their features and step definitions into a canonical intermediate representation.

What is the best way to translate Behat contexts and hooks to Cucumber?▼

Translating Behat contexts and hooks to Cucumber involves converting Behat 3.x configurations and autoloaded contexts into a round-trippable canonical emission that maps directly to target platforms.

Does converting Behat test suites require behat.yml configuration details?▼

Yes, converting Behat test suites requires configuration details from behat.yml or Behat profiles to accurately process multi-context and multi-profile setups and generate valid target artifacts.

How do I handle multi-profile Behat configurations when converting tests?▼

Multi-profile Behat configurations are handled by processing autoloaded contexts and Behat components from behat.yml, ensuring the conversion produces valid, round-trippable emissions for cross-environment testing.

What Behat constructs are supported when converting BDD suites?▼

Supported Behat constructs include features, contexts, hooks, transforms, and suites, which are mapped to targets such as Selenium, Playwright, Cypress, Cucumber, Appium, Behave, and SpecFlow.