Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
autoload.php
Go to the documentation of this file.
1 <?php
7 require_once __DIR__ . '/../../../../app/autoload.php';
8 
9 $testsBaseDir = dirname(__DIR__);
10 $integrationTestsDir = realpath("{$testsBaseDir}/../integration/");
11 
13 $autoloadWrapper->addPsr4('Magento\\TestFramework\\', "{$testsBaseDir}/framework/Magento/TestFramework/");
14 $autoloadWrapper->addPsr4('Magento\\TestFramework\\', "{$integrationTestsDir}/framework/Magento/TestFramework/");
15 $autoloadWrapper->addPsr4('Magento\\', "{$testsBaseDir}/testsuite/Magento/");
16 
17 // registration of classes under '../_files'
18 $autoloadWrapper->addPsr4('Magento\\', "{$testsBaseDir}/_files/");
defined('TESTS_BP')||define('TESTS_BP' __DIR__
Definition: _bootstrap.php:60
$autoloadWrapper
Definition: autoload.php:12
$testsBaseDir
Definition: autoload.php:9
$integrationTestsDir
Definition: autoload.php:10