isRerunEnabled() public method

public isRerunEnabled ( )
示例#1
0
 public function reRunSuite()
 {
     if ($this->io->isRerunEnabled()) {
         $this->decoratedRerunner->reRunSuite();
     }
 }
示例#2
0
 function it_does_not_rerun_the_suite_if_it_is_disabled_in_the_config(ConsoleIO $io, ReRunner $decoratedReRunner)
 {
     $io->isRerunEnabled()->willReturn(false);
     $this->reRunSuite();
     $decoratedReRunner->reRunSuite()->shouldNotHaveBeenCalled();
 }