updated-packages
This commit is contained in:
33
vendor/laravel/dusk/src/Console/DuskFailsCommand.php
vendored
Normal file
33
vendor/laravel/dusk/src/Console/DuskFailsCommand.php
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Laravel\Dusk\Console;
|
||||
|
||||
class DuskFailsCommand extends DuskCommand
|
||||
{
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'dusk:fails {--without-tty : Disable output to TTY}';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Run the failing Dusk tests from the last run and stop on failure';
|
||||
|
||||
/**
|
||||
* Get the array of arguments for running PHPUnit.
|
||||
*
|
||||
* @param array $options
|
||||
* @return array
|
||||
*/
|
||||
protected function phpunitArguments($options)
|
||||
{
|
||||
return array_unique(array_merge(parent::phpunitArguments($options), [
|
||||
'--cache-result', '--order-by=defects', '--stop-on-failure',
|
||||
]));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user