Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SingleRunTestManifest.php
Go to the documentation of this file.
1 <?php
8 
10 {
11  const SINGLE_RUN_CONFIG = 'singleRun';
12 
19  public function __construct($suiteConfiguration, $testPath)
20  {
21  parent::__construct($suiteConfiguration, $testPath);
22  $this->runTypeConfig = self::SINGLE_RUN_CONFIG;
23  }
24 
30  public function generate()
31  {
32  $fileResource = fopen($this->manifestPath, 'a');
33  $line = $this->relativeDirPath . DIRECTORY_SEPARATOR;
34  fwrite($fileResource, $line . PHP_EOL);
35  $this->generateSuiteEntries($fileResource);
36  fclose($fileResource);
37  }
38 }