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-base
dev
tests
functional
utils
generateAllureReport.php
Go to the documentation of this file.
1
<?php
16
// Explicitly define Allure CLI executable if it's not available in your PATH.
17
define(
'ALLURE_CLI'
,
'allure'
);
18
19
$mtfRoot
= dirname(dirname(
__FILE__
));
20
$mtfRoot
= str_replace(
'\\'
,
'/'
,
$mtfRoot
);
21
define(
'MTF_BP'
,
$mtfRoot
);
22
23
// Allure test results directory which needs to match what's defined in phpunit.xml.
24
$allureResultsDir
=
MTF_BP
.
'/var/allure-results/'
;
25
// Allure report directory.
26
$allureReportDir
=
MTF_BP
.
'/var/allure-report/'
;
27
28
// Generate report using Allure CLI.
29
exec
(
ALLURE_CLI
.
' generate '
.
$allureResultsDir
.
' -o '
.
$allureReportDir
);
30
31
// Open report using Allure CLI.
32
exec
(
ALLURE_CLI
.
' report open --report-dir '
.
$allureReportDir
);
Magento\MessageQueue\Model\Cron\ConsumersRunner\exec
exec($command, array &$output=null, &$return_var=null)
Definition:
pid_consumer_functions_mocks.php:26
ALLURE_CLI
const ALLURE_CLI
Definition:
generateAllureReport.php:17
__FILE__
defined('MTF_BOOT_FILE')||define('MTF_BOOT_FILE' __FILE__
Definition:
bootstrap.php:7
$mtfRoot
$mtfRoot
Definition:
generateAllureReport.php:19
$allureReportDir
$allureReportDir
Definition:
generateAllureReport.php:26
$allureResultsDir
$allureResultsDir
Definition:
generateAllureReport.php:24
MTF_BP
const MTF_BP
Definition:
generateAllureReport.php:21