isRerunEnabled() public méthode

public isRerunEnabled ( )
Exemple #1
0
 public function reRunSuite()
 {
     if ($this->io->isRerunEnabled()) {
         $this->decoratedRerunner->reRunSuite();
     }
 }
 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();
 }