Behat/Behat — Issue #77: How to autload Behat (instanciate a run from phar) ?
Author: gabrielpillet
Created: 2011-12-23 13:57:35+00:00
State: open

We used to do this with the former release of behat, to instanciate our own Behat runs :

```php
require_once('phar://workspace/lib/vendor/behat.phar/autoload.php');
$app = new Behat\Behat\Console\BehatApplication('0');
$app->run(new Symfony\Component\Console\Input\ArrayInput($args));
```

We are doing this to have a better control of our pathes and behat options.

There is no autoload.php file anymore now, any idea how we can achieve that with the new release ?