laravel-behat maintained by xedi
Last update
2021/07/30 00:23
License
Require
- php >=5.4
- symfony/browser-kit ^4
- suin/phpcs-psr4-sniff ^2.2
- symfony/config ^5.1.5
- symfony/dependency-injection ^5.1
- symfony/event-dispatcher ^5.1
- symfony/http-foundation ^5.1
- symfony/http-kernel ^5.1
- illuminate/console ^7.0
- illuminate/container ^7.0
- illuminate/support ^7.0
- behat/behat ^3.7.0
- friends-of-behat/mink ^1.8.0
- friends-of-behat/mink-browserkit-driver ^1.3.4
- friends-of-behat/mink-extension ^2.4.0
Last update
2021/04/29 17:24
License
Require
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^5.1.5
- symfony/dependency-injection ^5.1
- symfony/event-dispatcher ^5.1
- symfony/http-foundation ^5.1
- symfony/http-kernel ^5.1
- suin/phpcs-psr4-sniff ^2.2
- illuminate/console ^7.0
- illuminate/container ^7.0
- illuminate/support ^7.0
- behat/behat ^3.7.0
- friends-of-behat/mink ^1.8.0
- friends-of-behat/mink-browserkit-driver ^1.3.4
- friends-of-behat/mink-extension ^2.4.0
Last update
2020/09/29 14:12
License
Require
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^5.1.5
- symfony/dependency-injection ^5.1
- symfony/event-dispatcher ^5.1
- symfony/http-foundation ^5.1
- symfony/http-kernel ^5.1
- suin/phpcs-psr4-sniff ^2.2
- illuminate/console ^7.0
- illuminate/container ^7.0
- illuminate/support ^7.0
- behat/behat ^3.7.0
- friends-of-behat/mink ^1.8.0
- friends-of-behat/mink-browserkit-driver ^1.3.4
- friends-of-behat/mink-extension ^2.4.0
Last update
2020/04/23 11:35
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
- suin/phpcs-psr4-sniff ^2.2
Last update
2020/02/19 12:26
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
- suin/phpcs-psr4-sniff ^2.2
Last update
2020/02/13 08:00
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/11/05 14:12
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/11/04 10:50
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/10/31 15:04
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/10/31 13:14
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/10/31 09:02
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/10/30 16:52
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ^4
- symfony/config ^4
- symfony/dependency-injection ^4
- symfony/event-dispatcher ^4
- symfony/http-foundation ^4
- symfony/http-kernel ^4
Last update
2019/10/30 16:17
License
Require
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- behat/mink-extension ~2.0
- illuminate/console >=5
- illuminate/container >=5
- illuminate/support >=5
- php >=5.4
- symfony/browser-kit ~2.6
- symfony/config ~2.6
- symfony/dependency-injection ~2.6
- symfony/event-dispatcher ~2.6
- symfony/http-foundation ~2.6
- symfony/http-kernel ~2.6
Last update
2019/10/30 13:49
License
Require
- php >=5.4
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
- illuminate/support >=5
- illuminate/console >=5
- illuminate/container >=5
Last update
2019/10/30 10:58
License
Require
- php >=5.4
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
Last update
2018/11/29 15:58
License
Require
- php >=5.4
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
Last update
2018/11/29 14:40
License
Require
- php >=5.4
- behat/behat ~3.0
- behat/mink ~1.7
- behat/mink-browserkit-driver ~1.2
laravel-behat
Behat Extension compatible with both Laravel and Lumen
Getting Started
Installation
Pull in the extension using composer
composer require xedi/laravel-behat --dev
:information_source: If you are using Lumen you will need to register the ServiceProvider yourself for access to the Artisan commands.
// bootstrap/app.php
if (class_exists("Xedi\\Behat\\ServiceProvider")) {
$app->register("Xedi\\Behat\\ServiceProvider");
}
Setup
Next you need to configure behat.
php artisan make:behat-yaml
It is recommended that you use a .env.behat environment file and set the LOG_DRIVER to single.
Then, you need to initialize a behat within your repository.
vendor/bin/behat --init
If everything is working, it will create a "features" directory within your repository.
Running the tests
To run the test run behat as normal.
vendor/bin/behat
Alternatively, you can run individual files:
vendor/bin/behat -- features/Example.feature
You can also run specific Scenarios by specifying the line number it begins on:
vendor/bin/behat -- features/Example.feature:54
For more information, check out the help documentation using the --help option