/**
  * @since Method available since Release 3.6.0
  */
 public function run()
 {
     $this->preparer->prepare();
     $commandLine = $this->commandLineBuilder->build();
     $this->runTests($commandLine);
     $this->monitorAlteration($commandLine);
 }
Exemplo n.º 2
0
 /**
  * @param \Stagehand\TestRunner\Preparer\Preparer $preparer
  * @since Method available since Release 3.6.0
  */
 public function __construct(Preparer $preparer)
 {
     $preparer->prepare();
 }
Exemplo n.º 3
0
 /**
  * @param \Stagehand\ComponentFactory\IComponentAwareFactory $preparerFactory
  * @since Method available since Release 3.0.1
  */
 public function __construct(IComponentAwareFactory $preparerFactory)
 {
     $this->preparer = $preparerFactory->create();
     $this->preparer->prepare();
 }