Download the PHP package bex/behat-choose-tests without Composer
On this page you can find all versions of the php package bex/behat-choose-tests. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bex/behat-choose-tests
More information about bex/behat-choose-tests
Files in bex/behat-choose-tests
Package behat-choose-tests
Short Description Extension for behat to allow you to interactively choose tests to run
License MIT
Homepage https://github.com/tkotosz/behat-choose-tests
Informations about the package behat-choose-tests
Behat-ChooseTestsExtension
Behat-ChooseTestsExtension allows you to interactively choose tests to run.
Installation
Install by adding to your composer.json:
Configuration
Enable the extension in behat.yml like this:
Usage
Choose Suite
Run behat with --choose-suite option to interactively choose a suite to run:
-
it will not show the suite-chooser
- if you are running behat with
--no-interactionoption - if you already specified the suite with the
--suiteoption - if you have only 1 suite
- if you are running behat with
- it will allow you to choose
Allsuite or a specific suite. Multiple choice is not allowed yet.
Example output:
Choose Feature
Run behat with --choose-feature option to interactively choose a feature to run:
-
it will not show the feature-chooser
- if you are running behat with
--no-interactionoption - if you already specified the feature with passing the
<paths>argument (e.g.bin/behat features/my_awesome.feature) - if you have only 1 feature
- if you are running behat with
-
it will allow you to choose
Allfeature or a specific feature. Multiple choice is not allowed yet. - it list all features or the features in the given suite if you already selected a suite with
--suiteor--choose-suite.
Example output:
Choose Scenario
Run behat with --choose-scenario option to interactively choose a scenario to run:
-
it will not show the scenario-chooser
- if you are running behat with
--no-interactionoption - if you already specified the scenario with passing the
<paths>argument and specifying a line number (e.g.bin/behat features/my_awesome.feature:3) - if you have only 1 scenario
- if you are running behat with
-
it will allow you to choose
Allscenario or a specific scenario. Multiple choice is not allowed yet. - it list all scenarios or the scenarios in the given suite and feature if you already specified those. (Note that you can specify the suite with
--suiteor--chose-suiteand you can specify the feature by passing the<paths>argument or using the--choose-featureoption)
Example output:
Choose Tests
Run behat with --choose-tests option to interactively choose tests to run. It will simply enable all above choosers so --choose-tests is equivalent to --choose-suite --choose--feature --choose-scenario.
Example output:

