PHP Класс Behat\Behat\Tester\Cli\RerunController

Автор: Konstantin Kudryashov ([email protected])
Наследование: implements Behat\Testwork\Cli\Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, null | string $cachePath, string $basepath ) Initializes controller.
collectFailedScenario ( Behat\Behat\EventDispatcher\Event\AfterScenarioTested $event ) Records scenario if it is failed.
configure ( Command $command ) Configures command to be executable by the controller.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer Executes controller.
writeCache ( ) Writes failed scenarios cache.

Приватные методы

Метод Описание
generateKey ( Symfony\Component\Console\Input\InputInterface $input ) : string Generates cache key.
getFileName ( ) : null | string Returns cache filename (if exists).

Описание методов

__construct() публичный Метод

Initializes controller.
public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher, null | string $cachePath, string $basepath )
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$cachePath null | string
$basepath string

collectFailedScenario() публичный Метод

Records scenario if it is failed.
public collectFailedScenario ( Behat\Behat\EventDispatcher\Event\AfterScenarioTested $event )
$event Behat\Behat\EventDispatcher\Event\AfterScenarioTested

configure() публичный Метод

Configures command to be executable by the controller.
public configure ( Command $command )
$command Symfony\Component\Console\Command\Command

execute() публичный Метод

Executes controller.
public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат null | integer

writeCache() публичный Метод

Writes failed scenarios cache.
public writeCache ( )