Using PHPUnit installed globally with Silex project <p>I have global PHPUnit composer installation in </p> <pre><code>*~/.composer/vendor/phpunit*. </code></pre> <p>I want to use this installation to run tests from Silex application. Test files need to use project's <code>*vendor/autoload.php*</code> to load classes which will be tested at least, while global PHPUnit needs to load it's own <code>*~/.composer/vendor/autoload.php*.</code></p> <p>So in the project's tests I can't use PHPUnit autoloaded classes. So do I need to install PHPUnit to the project? But it looks like overkill while I have global PHPUnit. So, any help?</p>