for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2015-2024
*/
class TestHelper
{
private static $aimeos;
public static function bootstrap()
$aimeos = self::getAimeos();
$includepaths = $aimeos->getIncludePaths();
$includepaths[] = get_include_path();
set_include_path( implode( PATH_SEPARATOR, $includepaths ) );
}
public static function getAimeos()
if( !isset( self::$aimeos ) )
require_once 'Bootstrap.php';
spl_autoload_register( 'Aimeos\\Bootstrap::autoload' );
self::$aimeos = new \Aimeos\Bootstrap();
return self::$aimeos;