Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-functional-testing-framework
src
Magento
FunctionalTestingFramework
Util
Manifest
TestManifestFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\FunctionalTestingFramework\Util\Manifest
;
8
9
use
Magento\FunctionalTestingFramework\Test\Handlers\TestObjectHandler
;
10
use
Magento\FunctionalTestingFramework\Util\TestGenerator
;
11
12
class
TestManifestFactory
13
{
17
private
function
__construct()
18
{
19
// private constructor
20
}
21
30
public
static
function
makeManifest
($runConfig, $suiteConfiguration, $testPath =
TestGenerator::DEFAULT_DIR
)
31
{
32
$testDirFullPath = TESTS_MODULE_PATH
33
. DIRECTORY_SEPARATOR
34
.
TestGenerator::GENERATED_DIR
35
. DIRECTORY_SEPARATOR
36
. $testPath;
37
38
switch
($runConfig) {
39
case
'singleRun'
:
40
return
new
SingleRunTestManifest
($suiteConfiguration, $testDirFullPath);
41
42
case
'parallel'
:
43
return
new
ParallelTestManifest
($suiteConfiguration, $testDirFullPath);
44
45
default
:
46
return
new
DefaultTestManifest
($suiteConfiguration, $testDirFullPath);
47
}
48
}
49
}
Magento\FunctionalTestingFramework\Util\Manifest\DefaultTestManifest
Definition:
DefaultTestManifest.php:12
Magento\FunctionalTestingFramework\Util\Manifest\TestManifestFactory
Definition:
TestManifestFactory.php:12
Magento\FunctionalTestingFramework\Util\Manifest\SingleRunTestManifest
Definition:
SingleRunTestManifest.php:9
Magento\FunctionalTestingFramework\Util\Manifest\ParallelTestManifest
Definition:
ParallelTestManifest.php:20
Magento\FunctionalTestingFramework\Test\Handlers\TestObjectHandler
Definition:
TestObjectHandler.php:22
Magento\FunctionalTestingFramework\Util\Manifest
Definition:
BaseTestManifest.php:7
Magento\FunctionalTestingFramework\Util\TestGenerator\DEFAULT_DIR
const DEFAULT_DIR
Definition:
TestGenerator.php:36
Magento\FunctionalTestingFramework\Util\TestGenerator\GENERATED_DIR
const GENERATED_DIR
Definition:
TestGenerator.php:35
Magento\FunctionalTestingFramework\Util\TestGenerator
Definition:
TestGenerator.php:32
Magento\FunctionalTestingFramework\Util\Manifest\TestManifestFactory\makeManifest
static makeManifest($runConfig, $suiteConfiguration, $testPath=TestGenerator::DEFAULT_DIR)
Definition:
TestManifestFactory.php:30