Codeception/Codeception — pull request #65 by lostintime (2012-09-06 05:40:45+00:00)
Title: autoload.php fails in project folder that uses composer but without Codeception dependency

autoload.php fails in project folder that uses composer but without Codeception dependency (where vendor/autoload.php file exists)

$ codecept
PHP Fatal error: Class 'Symfony\Component\Console\Application' not found in /path/to/Codeception/codecept on line 30
PHP Stack trace:
PHP 1. {main}() /path/to/Codeception/codecept:0

Fatal error: Class 'Symfony\Component\Console\Application' not found in /path/to/Codeception/codecept on line 30

Call Stack:
0.0030 239488 1. {main}() /path/to/Codeception/codecept:0

Shouldn't it (autoload.php) use path relative it's location?

I'm not sure it covers all the cases, but when running codecept in folder where vendor/autoload file exists - autoload.php uses that file.