/**
  * @since Method available since Release 3.6.0
  */
 public function run()
 {
     $this->preparer->prepare();
     $commandLine = $this->commandLineBuilder->build();
     $this->runTests($commandLine);
     $this->monitorAlteration($commandLine);
 }
예제 #2
0
 /**
  * @param \Stagehand\TestRunner\Preparer\Preparer $preparer
  * @since Method available since Release 3.6.0
  */
 public function __construct(Preparer $preparer)
 {
     $preparer->prepare();
 }
예제 #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();
 }