npm install laravel-elixir-behat-wrapper
Within Your Gulpfile
, add:
var elixir = require('laravel-elixir');
require('laravel-elixir-behat-wrapper');
elixir(function(mix) {
mix.behat();
});
If you want to use $ gulp tdd
it will automatically add the features/
folder to your watch list. And watches all *.feature
and *Context.php
files.
You can customize each of the plugin settings, see the following
elixir(function(mix) {
mix.behat('tests/acceptance/');
});
elixir(function(mix) {
mix.behat(null,{config: 'behat-test.yml'});
});
See gulp-behat for all lists of config. By Default Notify
is True
MIT