PHP code example of guilhermeguitte / behat-laravel
1. Go to this page and download the library: Download guilhermeguitte/behat-laravel library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
guilhermeguitte / behat-laravel example snippets
config/app.php
'providers' => array(
'Illuminate\Foundation\Providers\ArtisanServiceProvider',
'Illuminate\Auth\AuthServiceProvider',
...
'GuilhermeGuitte\BehatLaravel\BehatLaravelServiceProvider',
),
$ php artisan behat:install
$ php artisan behat:install --test_path==your/test/path
$ php artisan behat:feature --name=NameOfFeature