Download the PHP package pavlakis/slim-behat-extension without Composer
On this page you can find all versions of the php package pavlakis/slim-behat-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package slim-behat-extension
A Behat 3 extension for Slim 3
This extension was written based on the Behat Laravel Extension
Can install it with composer through packagist
On your behat.yml file add the extension within the extensions section
The above is the minimum setup as long as you are using Akrabat's Slim 3 Skeleton with the default location for settings.php
at app/settings.php
and behat.yml
inside tests/behat
.
This is the expected directory structure for the default configuration:
If behat.yml
is in the root folder, use the following:
Apart from the config (settings.php) all other parameters are optional, however you can also pass:
In your FeatureContext file
- Include the KernelAwareContext interface
- Include the Pavlakis\Slim\Behat\Context\App trait
- Access the Slim 3 app using
$this->app
Feature Context example
Use the logger
to log some text to ensure the extension works.
FeatureContext.php
test.feature
Feature Context example using Mink
Accessing your dependencies
All versions of slim-behat-extension with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
behat/behat Version ~3.0
behat/mink-browserkit-driver Version ~1.2
symfony/http-kernel Version ^3.0
behat/behat Version ~3.0
behat/mink-browserkit-driver Version ~1.2
symfony/http-kernel Version ^3.0
The package pavlakis/slim-behat-extension contains the following files
Loading the files please wait ....