Created
February 26, 2013 15:27
-
-
Save postalservice14/5039285 to your computer and use it in GitHub Desktop.
behat autoloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sharedDir = '/var/www/adp_shared'; | |
$loader = require __DIR__ . '/../../vendor/autoload.php'; | |
$loader->add('AdpTest', $sharedDir . '/src', true); | |
$loader->add('Adp', $sharedDir . '/src', true); | |
require_once $sharedDir . '/loader/ADPSharedClassLoader.class.php'; | |
require_once $sharedDir . '/xml_support/XmlSupport.class.php'; | |
ADPSharedClassLoader::getInstance()->loadSharedFile('annotations/Annotations.pkg.php'); | |
require_once 'PHPUnit/Autoload.php'; | |
require_once 'PHPUnit/Framework/Assert/Functions.php'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment