for Windows and Linux
for macOS
Ctrl+Alt+S

This page is available only when the PHP and Behat plugins are installed and enabled. The plugins are not bundled with IntelliJ IDEA, but they can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Once enabled, the plugins are available at the IDE level, that is, you can use them in all your IntelliJ IDEA projects.
Before you start, make sure the PHP interpreter is configured in IntelliJ IDEA on the PHP page, as described in Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters.
On this page, configure installations of the Behat
framework
available through configured local and remote PHP interpreters
and thus enable behaviour-driven development in IntelliJ IDEA.
The page consists of two panes:
PHP interpreters
The central pane of the page shows a list of configured PHP interpreters that are associated with Behat installations. The list contains at least one item (Local) which cannot be removed. The contents of the right-hand pane depend on the type of the selected interpreter.
-
To add a remote interpreter to the list, click
on the toolbar of the pane and choose the relevant interpreter in the Behat by remote interpreter dialog that opens.
Then specify the details of the Behat installation to use with this interpreter.
-
To remove a remote interpreter from the list, select the relevant interpreter and click
.
The Behat configuration associated with the interpreter is also removed.
See Configuring Remote PHP Interpreters for details.
Behat configuration
| Item | Description |
|---|---|
| CLI Interpreter |
This area shows:
next to the field in question and specify the settings manually.
See Configuring Remote PHP Interpreters for details.
The field is read-only, to update the chosen interpreter configuration or create a new one, click the |
| Behat Library |
In this area, specify the Behat installation to use.
|
| Test Runner |
In this area,
appoint the configuration .yml file to use for launching and executing scenarios.
By default, Behat looks for a
|
whereupon IntelliJ IDEA brings you to the
.
The default value is