PHP 클래스 Behat\Behat\Tester\Cli\RerunController

저자: Konstantin Kudryashov ([email protected])
상속: implements Behat\Testwork\Cli\Controller
파일 보기 프로젝트 열기: behat/behat

공개 메소드들

메소드 설명
__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 ( )