Closed Drarok closed 10 years ago
I think all it needs extra is the following added to phpunit.xml:
bootstrap="vendor/autoload.php"
I think the instructions assume you have installed PHPUnit via composer. I can add a note for other install methods.
Thanks :)
I was running a composer-installed phpunit - it doesn't seem to add the autoloader anywhere though?
I did indeed manage to get it running with the autoloader passed in as bootstrap.
Are you sure you're running the PHPUnit binary that composer installs?
I thought I was, but was actually running the system-installed version. Sorry, my bad!
No worries. Thanks for the heads up :)
Following the instructions in the README don't actually work, since the Composer autoloader is never included.