Files
magento2/dev/tests/performance/framework/bootstrap.php
T
2015-01-09 10:11:39 -05:00

17 lines
492 B
PHP

<?php
/**
* Performance framework bootstrap script
*
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
require __DIR__ . '/../../../../app/bootstrap.php';
require_once __DIR__ . '/autoload.php';
$testsBaseDir = dirname(__DIR__);
$appBootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER);
$bootstrap = new \Magento\TestFramework\Performance\Bootstrap($appBootstrap, $testsBaseDir);
$bootstrap->cleanupReports();
return $bootstrap;